diff options
-rwxr-xr-x | ezjail-admin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin index 7be039b..c10bb55 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -727,8 +727,8 @@ EOF | |||
727 | # by prepending -j to each jid | 727 | # by prepending -j to each jid |
728 | IFS=${TIFS} | 728 | IFS=${TIFS} |
729 | jail_ids=`( echo none= | 729 | jail_ids=`( echo none= |
730 | jls -n | sed -E -n s/'.*jid=([0-9]+).*ip4\.addr=([0-9.,]+)'.*/'\1=\2'/p | grep -Ee "${ezjail_ip}(,|$)" | 730 | jls -n | sed -E -n s/'.*jid=([0-9]+).*ip4\.addr=([0-9.,]+).*'/'\1=\2'/p | grep -Ee "${ezjail_ip}(,|$)" |
731 | jls -n | sed -E -n s/'.*jid=([0-9]+).*ip6\.addr=([0-9a-f:,]+)'.*/'\1=\2'/p | grep -Ee "${ezjail_ip}(,|$)" | 731 | jls -n | sed -E -n s/'.*jid=([0-9]+).*ip6\.addr=([0-9a-f:,]+).*'/'\1=\2'/p | grep -Ee "${ezjail_ip}(,|$)" |
732 | ) | cut -d= -f1 | sed s/^/-j/` | 732 | ) | cut -d= -f1 | sed s/^/-j/` |
733 | 733 | ||
734 | # Fetch all corresponding process ids for all matching jail | 734 | # Fetch all corresponding process ids for all matching jail |