From 4e50d9edadc613ccc45058cbc639b8781efca159 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 2 Feb 2006 23:02:17 +0000 Subject: rc.d scripts must not issue line breaks --- ezjail.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ezjail.sh b/ezjail.sh index af842fc..c98e91d 100755 --- a/ezjail.sh +++ b/ezjail.sh @@ -27,7 +27,7 @@ stop_cmd="do_stop" do_start() { - [ -n "$*" ] && jail_list=`echo -n $* | tr -c [:alnum:] _` || echo " ezjail" + [ -n "$*" ] && jail_list=`echo -n $* | tr -c [:alnum:] _` || echo -n " ezjail" jail_list=${jail_list:-`ls ${ezjail_prefix}/etc/ezjail/`} for jail in $jail_list; do . ${ezjail_prefix}/etc/ezjail/${jail}; done sh /etc/rc.d/jail onestart $jail_list @@ -44,7 +44,7 @@ do_restart() do_stop() { - [ -n "$*" ] && jail_list=`echo -n $* | tr -c [:alnum:] _` || echo " ezjail" + [ -n "$*" ] && jail_list=`echo -n $* | tr -c [:alnum:] _` || echo -n " ezjail" jail_list=${jail_list:-`ls ${ezjail_prefix}/etc/ezjail/`} for jail in $jail_list; do . ${ezjail_prefix}/etc/ezjail/${jail}; done sh /etc/rc.d/jail onestop $jail_list -- cgit v1.2.3