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