X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=switch-mail-host;h=11c0f40a382f17906fab4621ed0e9543ac9e6b29;hb=e03e99848bc5fbc7ad527513e0aa4b0fc9c4d6fb;hp=bac21484c89dc93ec67969c330a44377eecc9572;hpb=7a82762b44f4732f6b075a0cb5d8b258f5022d12;p=distro-setup diff --git a/switch-mail-host b/switch-mail-host index bac2148..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 <