Bugzilla – Bug 781
xfs_quota doesn't report success/failure in exit status
Last modified: 2008-12-30 17:17:14 CST
xfs_quota (posibly other tools?) doesn't report success/failure in exit status which prevents it from being used in automated scripts easily. Please add exit status that correspond to job success/failure. [root@x ~]# LC_ALL=C /usr/sbin/xfs_quota -x -c "limit -u bsoft=1024M bhard=1074M 10000" /home; echo $? xfs_quota: cannot set limits: Function not implemented 0 [root@x ~]# xfsprogs 2.9.7
Created attachment 237 [details] add exitstatus 1 where needed Here is proposed patch. Someone needs to ensure that it adds existatus = 1 only in needed places. ps. Could anyone change this bugzilla configuration to allow email address changes in user accounts? My registered email here no longer works and I can't change it unfortunately. I also didn't find bugzilla administrator email address on sgi websites...
Your patch is now in the development tree at: http://git.kernel.org/?p=fs/xfs/xfsprogs-dev.git