summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2005-09-21 14:13:32 +0000
committererdgeist <erdgeist@erdgeist.org>2005-09-21 14:13:32 +0000
commit34706172d76e5a32c5c3fe5a03702c5700f1e422 (patch)
treea9505d0c86aa676586730fe243fb2c42a0d79ce0
parent03b4acbce2190ebca2fb33ba730e5f2f92064bf3 (diff)
substring starts at 0...
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index b6ba4dc..93a9e1f 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -58,7 +58,7 @@ create)
58 fi 58 fi
59 59
60 # relative paths don't make sense in rc.scripts 60 # relative paths don't make sense in rc.scripts
61 if [ ${ezjail_jaildir:1:1} != / ]; then 61 if [ "${ezjail_jaildir:0:1}" != "/" ]; then
62 echo Error: Need an absolute path in ezjail_jaildir, it is currently set to: $ezjail_jaildir 62 echo Error: Need an absolute path in ezjail_jaildir, it is currently set to: $ezjail_jaildir
63 exit 1; 63 exit 1;
64 fi 64 fi