diff --git a/bin/werclib.rc b/bin/werclib.rc index fdbc1f1..6a570c5 100644 --- a/bin/werclib.rc +++ b/bin/werclib.rc @@ -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 }