summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update-me.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/update-me.in b/update-me.in
index 37a21cc..398e485 100644
--- a/update-me.in
+++ b/update-me.in
@@ -10,6 +10,7 @@ if [ ! "$(whoami)" == "root" ]
then
if ! "${hasSudo}"
then
+ hostname
su -c "$(readlink -f "$0")"
exit $?
fi