Minor style change and delete debug print.
This commit is contained in:
parent
1f98c49a68
commit
1c4d6ff8bd
1 changed files with 1 additions and 3 deletions
|
|
@ -29,10 +29,8 @@ fn check_user {
|
|||
_status=$status
|
||||
if(! ~ $"_status '')
|
||||
_status=(Not logged in: $"_status)
|
||||
if not if(! ~ $#* 0 && ! grep -s '^'^$logged_user^'$' etc/groups/$* etc/groups/admin) {
|
||||
dprint NOT IN GROUP
|
||||
if not if(! ~ $#* 0 && ! grep -s '^'^$logged_user^'$' etc/groups/$* etc/groups/admin)
|
||||
_status=(User $logged_user not in groups $*)
|
||||
}
|
||||
status=$_status
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue