ref: e159c6478bb690e463c786dd993148ef4ade1741
parent: 1f87295adaecd83764435d69f97dad13b79d56d7
author: sl <uriel@engel.se.cat-v.org>
date: Fri Feb 13 18:17:49 EST 2009
Minor style change and delete debug print.
--- a/bin/werclib.rc
+++ b/bin/werclib.rc
@@ -29,10 +29,8 @@
_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
}