From: gregor herrmann Date: Tue, 9 Aug 2016 14:34:14 +0000 (+0200) Subject: prefix output X-Git-Url: https://git.toastfreeware.priv.at/toast/tdyndns.git/commitdiff_plain/1f42a92f9145f34e3df6f21671d55625b9189059 prefix output --- diff --git a/bin/client/tdyndns_client b/bin/client/tdyndns_client index 6593a95..6e8d2e3 100755 --- a/bin/client/tdyndns_client +++ b/bin/client/tdyndns_client @@ -7,7 +7,7 @@ set -u # debug? if [ $# -gt 0 ] ; then - DOIT="echo " + DOIT="echo I: " set -x else DOIT="" @@ -16,12 +16,12 @@ fi # functions die() { - echo "$1" >&2 + echo "E: $1" >&2 exit 1 } warn() { - echo "$1" >&2 + echo "W: $1" >&2 } # variables