Page MenuHomeFreeBSD

D2088.id.diff
No OneTemporary

D2088.id.diff

Index: etc/rc.d/jail
===================================================================
--- etc/rc.d/jail
+++ etc/rc.d/jail
@@ -516,7 +516,10 @@
command=$jail_program
rc_flags=$jail_flags
command_args="-f $jail_conf -r"
- $jail_jls name | while read _j; do
+ for _j in $($jail_jls name); do
+ _rev_jail_list="${_j} ${_rev_jail_list}"
+ done
+ for _j in ${_rev_jail_list}; do
echo -n " $_j"
_tmp=`mktemp -t jail` || exit 3
$command $rc_flags $command_args $_j >> $_tmp 2>&1
@@ -532,6 +535,9 @@
;;
esac
for _j in $@; do
+ _rev_jail_list="${_j} ${_rev_jail_list}"
+ done
+ for _j in ${_rev_jail_list}; do
_j=$(echo $_j | tr /. _)
parse_options $_j || continue
if ! $jail_jls -j $_j > /dev/null 2>&1; then

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 25, 2:39 AM (5 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30292454
Default Alt Text
D2088.id.diff (746 B)

Event Timeline