diff options
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index 8330d01..f8bb9a7 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -434,7 +434,7 @@ ensure_jailzfs() { | |||
434 | _zfs_status=`/sbin/zfs list -H -o name ${ezjail_jailzfs} 2> /dev/null` | 434 | _zfs_status=`/sbin/zfs list -H -o name ${ezjail_jailzfs} 2> /dev/null` |
435 | [ "${_zfs_status}" = "${ezjail_jailzfs}" ] && return | 435 | [ "${_zfs_status}" = "${ezjail_jailzfs}" ] && return |
436 | 436 | ||
437 | # if a directoy already exists in that place, make sure it is empty, else bump user | 437 | # if a directory already exists in that place, make sure it is empty, else bump user |
438 | [ -d "${ezjail_jaildir}" -a -n "`ls -A ${ezjail_jaildir}`" ] && exerr "Error: Can not create zfs at ${ezjail_jaildir}.\n There is a non-empty directory in the way." | 438 | [ -d "${ezjail_jaildir}" -a -n "`ls -A ${ezjail_jaildir}`" ] && exerr "Error: Can not create zfs at ${ezjail_jaildir}.\n There is a non-empty directory in the way." |
439 | 439 | ||
440 | # create all parent file systems if necessary | 440 | # create all parent file systems if necessary |