summaryrefslogtreecommitdiffstats
path: root/infest/bootstrap.sh
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-05-14 12:11:11 +0200
committermakefu <root@pigstarter.de>2013-05-14 12:11:11 +0200
commit13218101e633fcfd163e5e677d02851615fc47c9 (patch)
tree63ddf88c4d4022c6ab8f4b095140e9f05ab7c34d /infest/bootstrap.sh
parent8ecd8b9e2714e559fc05983be69be409196d5da7 (diff)
parentd414c24bbf296f3888622550fb9c1d46cd23746c (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'infest/bootstrap.sh')
-rw-r--r--infest/bootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/infest/bootstrap.sh b/infest/bootstrap.sh
index 66a1cfdd..5d85c769 100644
--- a/infest/bootstrap.sh
+++ b/infest/bootstrap.sh
@@ -2,7 +2,7 @@
set -euf
# Can be overwritten before install
KREBSDIR=${KREBSDIR:-/krebs}
-[ "`id -u`" -eq "0" ] || { echo "you need to be root!"; exit 1;} || exit 1
+[ "`id -u`" -eq "0" ] || echo "not running as root, stuff may not work. change KREBSDIR env to bootstrap somewhere else!";
# brute force install git, krebs style