swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 90c3fe3f9d3d039784995ec9e038fa7ebe3dc1d7
parent b9de080cdb5045bb41863f356feb844a443d482a
Author: uriel@soma <unknown>
Date:   Fri, 13 Feb 2009 23:17:49 +0000

Minor style change and delete debug print.
Diffstat:
Mbin/werclib.rc | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 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 }