summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
authorYour Name <you@example.com>2013-05-11 12:47:16 +0200
committerYour Name <you@example.com>2013-05-11 12:47:16 +0200
commit310005396cab6abd73dd8a027e7241051f0817fc (patch)
treef2d1c2377128fd40e6eea64b7b45975ae9d46dba /infest
parentbdc1e03a956e560ab3373436bc54d119efeb5086 (diff)
fix uid=0 requirement
Diffstat (limited to 'infest')
-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