diff options
author | Erich Eckner <git@eckner.net> | 2020-01-16 06:25:28 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-16 06:36:01 +0100 |
commit | cc3d8c977bf96efad26016559d62e4a24e81fe1e (patch) | |
tree | af8456e4d1509b28dbb8417c0da77dbec4620dd4 /update-me.in | |
parent | d54a75b39f5c2f3effd46e9f764056ee530876e1 (diff) | |
download | update-all-cc3d8c977bf96efad26016559d62e4a24e81fe1e.tar.xz |
update-me: print hostname on success and on error
Diffstat (limited to 'update-me.in')
-rw-r--r-- | update-me.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-me.in b/update-me.in index f3854fb..17f1b1f 100644 --- a/update-me.in +++ b/update-me.in @@ -101,12 +101,12 @@ do err=$? if [ ${err} -ne 0 ] then - >&2 echo 'Fehler' + >&2 printf '%s: Fehler\n' "$(hostname)" read s exit ${err} fi done ->&2 echo 'Erfolg' +>&2 printf '%s: Erfolg\n' "$(hostname)" read s exit 0 |