Fix overriding jail_list from command line.

MFC after:	3 days
This commit is contained in:
Max Khon 2006-03-08 20:40:37 +00:00
parent 68ff3c2445
commit 409a60927b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156441

View File

@ -247,5 +247,7 @@ cmd="$1"
if [ $# -gt 0 ]; then
shift
fi
[ -n "$*" ] && jail_list="$*"
if [ -n "$*" ]; then
jail_list="$*"
fi
run_rc_command "${cmd}"