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:
teastep 2005-05-03 23:03:35 +00:00
parent a381b3f4fb
commit 5502bafc19

View File

@ -2409,7 +2409,7 @@ process_tc_rule()
case "$user" in
*+*)
r="$r --cmd-owner ${user#*+}"
r="$r --cmd-owner ${user#*+} "
user=${user%+*}
;;
esac
@ -2422,7 +2422,7 @@ process_tc_rule()
[ -n "$temp" ] && r="$r --gid-owner $temp "
;;
*)
r="$r --uid-owner $user "
[ -n "$user" ] && r="$r --uid-owner $user "
;;
esac
fi