From 34706172d76e5a32c5c3fe5a03702c5700f1e422 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Wed, 21 Sep 2005 14:13:32 +0000 Subject: substring starts at 0... --- ezjail-admin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezjail-admin b/ezjail-admin index b6ba4dc..93a9e1f 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -58,7 +58,7 @@ create) fi # relative paths don't make sense in rc.scripts - if [ ${ezjail_jaildir:1:1} != / ]; then + if [ "${ezjail_jaildir:0:1}" != "/" ]; then echo Error: Need an absolute path in ezjail_jaildir, it is currently set to: $ezjail_jaildir exit 1; fi -- cgit v1.2.3