Minor style change and delete debug print.

This commit is contained in:
Uriel 2009-02-13 23:17:49 +00:00
parent 1f98c49a68
commit 1c4d6ff8bd

View file

@ -29,10 +29,8 @@ fn check_user {
_status=$status _status=$status
if(! ~ $"_status '') if(! ~ $"_status '')
_status=(Not logged in: $"_status) _status=(Not logged in: $"_status)
if not if(! ~ $#* 0 && ! grep -s '^'^$logged_user^'$' etc/groups/$* etc/groups/admin) { if not if(! ~ $#* 0 && ! grep -s '^'^$logged_user^'$' etc/groups/$* etc/groups/admin)
dprint NOT IN GROUP
_status=(User $logged_user not in groups $*) _status=(User $logged_user not in groups $*)
}
status=$_status status=$_status
} }