From 1c4d6ff8bd7ae3ef7e242185d995ba5bc0470f9f Mon Sep 17 00:00:00 2001 From: Uriel Date: Fri, 13 Feb 2009 23:17:49 +0000 Subject: [PATCH] Minor style change and delete debug print. --- bin/werclib.rc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }