projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f1d57
)
fix quota_set output to be single line
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 13 Feb 2012 22:17:16 +0000
(23:17 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 13 Feb 2012 22:17:16 +0000
(23:17 +0100)
gearman/narada_s1_quota
patch
|
blob
|
history
diff --git
a/gearman/narada_s1_quota
b/gearman/narada_s1_quota
index
c3621a8
..
114d02c
100755
(executable)
--- 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;