From 277165df4b418fa7b145725a7cb13ad08b1ec742 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Thu, 27 Jun 2002 07:57:48 +0000 Subject: pass -c to Perms.py if the level is given on the command line. --- share/msec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1