X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=switch-mail-host;h=11c0f40a382f17906fab4621ed0e9543ac9e6b29;hb=36f92d5af79d7934e953515f58af1c86d6838599;hp=96e03ef494e911ed4fce3cfef7ef5589e45b0567;hpb=8793e42101bdb66e63e76deebe3958e9a1ef7c87;p=distro-setup diff --git a/switch-mail-host b/switch-mail-host index 96e03ef..11c0f40 100755 --- a/switch-mail-host +++ b/switch-mail-host @@ -1,36 +1,55 @@ #!/bin/bash -set -x -set -eE -o pipefail -trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR + +source /usr/local/lib/err usage() { - cat <