substring starts at 0...

This commit is contained in:
erdgeist 2005-09-21 14:13:32 +00:00
parent 03b4acbce2
commit 34706172d7

View File

@ -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