summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
Diffstat (limited to 'update-me.in')
-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