forked from extern/shorewall_code
Fix a couple of bugs in cmd-owner
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2084 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a381b3f4fb
commit
5502bafc19
@ -2409,7 +2409,7 @@ process_tc_rule()
|
|||||||
|
|
||||||
case "$user" in
|
case "$user" in
|
||||||
*+*)
|
*+*)
|
||||||
r="$r --cmd-owner ${user#*+}"
|
r="$r --cmd-owner ${user#*+} "
|
||||||
user=${user%+*}
|
user=${user%+*}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -2422,7 +2422,7 @@ process_tc_rule()
|
|||||||
[ -n "$temp" ] && r="$r --gid-owner $temp "
|
[ -n "$temp" ] && r="$r --gid-owner $temp "
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
r="$r --uid-owner $user "
|
[ -n "$user" ] && r="$r --uid-owner $user "
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user