From c185e5d9aa7569d9f30abcced25922d85b01cb00 Mon Sep 17 00:00:00 2001 From: katagia Date: Sat, 8 Nov 2003 12:44:26 +0000 Subject: [PATCH] fixed Problem. Quotas were displayed wrong for new users. --- lam/lib/lamdaemon.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/lamdaemon.pl b/lam/lib/lamdaemon.pl index 4fe20c98..1aa1f21d 100755 --- a/lam/lib/lamdaemon.pl +++ b/lam/lib/lamdaemon.pl @@ -165,7 +165,7 @@ if ($( == 0 ) { # we are root $i=0; ($<, $>) = ($>, $<); # Get root privileges while ($quota_usr[$i][0]) { - if ($vals[2]ne'+') { + if ($vals[0]ne'+') { $dev = Quota::getqcarg($quota_usr[$i][1]); @temp = Quota::query($dev,$user[2],$group); if ($temp[0]ne'') {