summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index a4e50e1..7e86252 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -528,7 +528,7 @@ setup|update)
528 # Bump the user for some of the most common errors 528 # Bump the user for some of the most common errors
529 [ -d ${ezjail_sourcetree} ] || exerr "Cannot find your copy of the FreeBSD source tree in ${ezjail_sourcetree}." 529 [ -d ${ezjail_sourcetree} ] || exerr "Cannot find your copy of the FreeBSD source tree in ${ezjail_sourcetree}."
530 [ -e ${ezjail_sourcetree}/Makefile ] || exerr "Your source tree in ${ezjail_sourcetree} seems to be incomplete (Makefile missing)." 530 [ -e ${ezjail_sourcetree}/Makefile ] || exerr "Your source tree in ${ezjail_sourcetree} seems to be incomplete (Makefile missing)."
531 [ "`sysctl -n kern.securelevel`" -gt 0 ] || exerr "You're running in a secure level higher than 0. ezjail will not run correctly." 531 [ "`sysctl -n kern.securelevel`" -gt 0 ] && exerr "You're running in a secure level higher than 0. ezjail will not run correctly."
532 532
533 # Normally fulljail should be renamed by past ezjail-admin commands. 533 # Normally fulljail should be renamed by past ezjail-admin commands.
534 # However those may have failed 534 # However those may have failed
@@ -568,7 +568,7 @@ install)
568 ezjail_dir=${ezjail_ftphost#file://} 568 ezjail_dir=${ezjail_ftphost#file://}
569 [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD} 569 [ "${ezjail_dir%%[!/]*}" ] || ezjail_reldir=${PWD}
570 570
571 [ "`sysctl -n kern.securelevel`" -gt 0 ] || exerr "You're running in a secure level higher than 0. ezjail will not run correctly." 571 [ "`sysctl -n kern.securelevel`" -gt 0 ] && exerr "You're running in a secure level higher than 0. ezjail will not run correctly."
572 572
573 # ftp servers normally wont provide non-RELEASE-builds 573 # ftp servers normally wont provide non-RELEASE-builds
574 if [ -z "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then 574 if [ -z "${ezjail_release}" -a "${ezjail_dir}" = "${ezjail_ftphost}" ]; then