From 4b627f8d69cc090f394910c82c8b2305c6df6328 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 13 Feb 2012 23:17:16 +0100 Subject: [PATCH] fix quota_set output to be single line --- gearman/narada_s1_quota | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gearman/narada_s1_quota b/gearman/narada_s1_quota index c3621a8..114d02c 100755 --- a/gearman/narada_s1_quota +++ b/gearman/narada_s1_quota @@ -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; -- 2.20.1