summaryrefslogtreecommitdiffstats
path: root/.scripts/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/bootstrap.sh')
-rw-r--r--.scripts/bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.scripts/bootstrap.sh b/.scripts/bootstrap.sh
index 8deddfd4..32919e7d 100644
--- a/.scripts/bootstrap.sh
+++ b/.scripts/bootstrap.sh
@@ -1,7 +1,7 @@
if [ ! `id -u` -eq "0" ]
then
- echo "not root, bailing out"
- exit 1
+ echo "not root, trying sudo"
+ exec sudo "$0" "$@"
fi
mkdir -p /etc/tinc/retiolum/