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