diff options
-rwxr-xr-x | ezjail-admin | 2 |
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 |