aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-06-27 07:57:48 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-06-27 07:57:48 +0000
commit277165df4b418fa7b145725a7cb13ad08b1ec742 (patch)
tree1cdcbb919082ea6b8644d7c7fe3d25cfb82f5dd6 /share
parentb627ab3c00142988caa09857f0e6e833497764b9 (diff)
downloadmsec-277165df4b418fa7b145725a7cb13ad08b1ec742.tar
msec-277165df4b418fa7b145725a7cb13ad08b1ec742.tar.gz
msec-277165df4b418fa7b145725a7cb13ad08b1ec742.tar.bz2
msec-277165df4b418fa7b145725a7cb13ad08b1ec742.tar.xz
msec-277165df4b418fa7b145725a7cb13ad08b1ec742.zip
pass -c to Perms.py if the level is given on the command line.
Diffstat (limited to 'share')
-rwxr-xr-xshare/msec3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/msec b/share/msec
index 19cc68a..08e2632 100755
--- a/share/msec
+++ b/share/msec
@@ -51,6 +51,7 @@ for a in "$@"; do
done
if [ -n "$last" ]; then
+ CHANGE=-c
case "$last" in
[0-5]) ;;
*) [ -x /usr/share/msec/$last.py ] && MSEC=/usr/share/msec/$last.py;;
@@ -78,7 +79,7 @@ if $MSEC "$@"; then
LOCAL=
[ -f /etc/security/msec/perm.local ] && LOCAL=/etc/security/msec/perm.local
- /usr/share/msec/Perms.py $OPT /usr/share/msec/perm.$PERM_LEVEL $LOCAL
+ /usr/share/msec/Perms.py $CHANGE $OPT /usr/share/msec/perm.$PERM_LEVEL $LOCAL
fi
# msec ends here