diff options
author | fjoe <fjoe@FreeBSD.org> | 2006-03-08 20:40:37 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2006-03-08 20:40:37 +0000 |
commit | 74880d1ae07d936f2d7438a214eef4c207521125 (patch) | |
tree | 0a75d5ce1859c246d80348c29afba3a6d086d3ad /etc/rc.d/jail | |
parent | 5ad34fd1d66bc05d173c6cb735719eb37f569e12 (diff) | |
download | FreeBSD-src-74880d1ae07d936f2d7438a214eef4c207521125.zip FreeBSD-src-74880d1ae07d936f2d7438a214eef4c207521125.tar.gz |
Fix overriding jail_list from command line.
MFC after: 3 days
Diffstat (limited to 'etc/rc.d/jail')
-rw-r--r-- | etc/rc.d/jail | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.d/jail b/etc/rc.d/jail index 1281bb5..b4b051f 100644 --- a/etc/rc.d/jail +++ b/etc/rc.d/jail @@ -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}" |