A strange utf8 char slipped into my code.

This commit is contained in:
erdgeist 2007-10-02 20:20:05 +00:00
parent 626f2fd677
commit 32bf68787b

View File

@ -303,7 +303,7 @@ create)
# check for restore circumstances, normally this is invoked by the restore command
[ "${ezjail_fromarchive}" -a "${ezjail_exists}" ] && exerr "Error: Cannot restore a jail that exists."
[ "${ezjail_fromarchive}" -a "${ezjail_flavour}" ] && exerr "Error: Cannot apply flavours to a restored jail."
[ "${ezjail_fromarchive}" -a ! -r ${ezjail_fromarchive} ] & exerr "Error: Cannot restore from non existin garchive: ${ezjail_fromarchive}."
[ "${ezjail_fromarchive}" -a ! -r ${ezjail_fromarchive} ] && exerr "Error: Cannot restore from non existing archive: ${ezjail_fromarchive}."
#
# All sanity checks that may lead to errors are hopefully passed here
@ -376,7 +376,7 @@ create)
fi
fi
if [ -z "${ezjail_fromarchive}" ]; then
if [ "${ezjail_fromarchive}" ]; then
mkdir -p ${ezjail_rootdir} && tar xfp ${ezjail_fromarchive} -C ${ezjail_rootdir} --strip-components 1 ezjail
[ $? = 0 ] || detach_images || exerr "Error: Could not extract archive from ${ezjail_fromarchive}."
elif [ -z "${ezjail_exists}" ]; then