fix quota_set output to be single line
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 13 Feb 2012 22:17:16 +0000 (23:17 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 13 Feb 2012 22:17:16 +0000 (23:17 +0100)
gearman/narada_s1_quota

index c3621a8..114d02c 100755 (executable)
@@ -19,7 +19,7 @@ elif [ "$1" = "set" ] ; then
        while read uid quota ; do
                echo "set $uid $quota" >> $log_file
                setquota -u $uid $quota 0 0 0 /mnt/narada/
-               quota --raw-grace --no-wrap -u $uid | tail -1
+               #quota --raw-grace --no-wrap -u $uid | tail -1
        done
 elif [ "$1" = "start" ] ; then
        test -e $pid_file && kill `cat $pid_file` || true;