X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=switch-mail-host;h=f26b945bea1a1b139a1232e08942fe8192f7a1af;hb=80be8ed466553bef7f47edf4d15a69ace460f3da;hp=40cb8172ffd873deda5097e966903243e6b636c2;hpb=e7708e1261357b00d17f4baffb7051e97f7e8623;p=distro-setup diff --git a/switch-mail-host b/switch-mail-host old mode 100755 new mode 100644 index 40cb817..f26b945 --- a/switch-mail-host +++ b/switch-mail-host @@ -1,192 +1,143 @@ #!/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 <