/[smeserver]/rpms/e-smith-quota/sme8/e-smith-quota-2.2.0-quotaWarning.patch
ViewVC logotype

Annotation of /rpms/e-smith-quota/sme8/e-smith-quota-2.2.0-quotaWarning.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Jan 2 05:24:30 2012 UTC (12 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-quota-2_2_0-10_el5_sme, HEAD
Improve error message for quota

1 wellsi 1.1 diff -ruN e-smith-quota-2.2.0.old/root/sbin/e-smith/warnquota e-smith-quota-2.2.0/root/sbin/e-smith/warnquota
2     --- e-smith-quota-2.2.0.old/root/sbin/e-smith/warnquota 2008-10-07 18:37:14.000000000 +0100
3     +++ e-smith-quota-2.2.0/root/sbin/e-smith/warnquota 2011-12-30 00:13:34.000000000 +0000
4     @@ -116,8 +116,7 @@
5    
6     if( !defined $bc ) # Quota::query failed
7     {
8     - warn "Cannot query your quota for '" . $user->key . "' on '$dev'\n";
9     - warn "Quota error (are you using NFS?): ", Quota::strerr(), "\n";
10     + warn "Cannot query quota for '" . $user->key . "' on '$dev': ", Quota::strerr(), "\n";
11     next;
12     }
13    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed