summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-16 06:25:28 +0100
committerErich Eckner <git@eckner.net>2020-01-16 06:36:01 +0100
commitcc3d8c977bf96efad26016559d62e4a24e81fe1e (patch)
treeaf8456e4d1509b28dbb8417c0da77dbec4620dd4 /update-me.in
parentd54a75b39f5c2f3effd46e9f764056ee530876e1 (diff)
downloadupdate-all-cc3d8c977bf96efad26016559d62e4a24e81fe1e.tar.xz
update-me: print hostname on success and on error
Diffstat (limited to 'update-me.in')
-rw-r--r--update-me.in4
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