This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 78f3bde71a97d002e7d5594fcd6e93261bf7ad3e (commit)
from e2fa85905c7daffa5dac9cf9f97de07e63bca4e7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=78f3bde71a97d002e7d5594fcd6e93261bf7ad3e
commit 78f3bde71a97d002e7d5594fcd6e93261bf7ad3e
Author: Franck Villaume <[email protected]>
Date: Sat Dec 14 17:10:41 2019 +0100
quota_management: fix mount options detection
diff --git a/src/plugins/quota_management/bin/install.sh
b/src/plugins/quota_management/bin/install.sh
index 6f0bef7..8197df9 100755
--- a/src/plugins/quota_management/bin/install.sh
+++ b/src/plugins/quota_management/bin/install.sh
@@ -13,7 +13,7 @@ case "$1" in
case $mountfilesystem in
'xfs')
mountoptions=$(mount | grep
"$mountpoint " | grep "uquota" | grep "gquota")
- if [ -z $mountoptions ]; then
+ if [ -z "$mountoptions" ]; then
echo "Enabling uquota &
gquota on $mountpoint"
#requires boot
changes!!!
else
@@ -22,7 +22,7 @@ case "$1" in
;;
'ext4'|'ext3')
mountoptions=$(mount | grep
"$mountpoint " | grep "usrquota" | grep "grpquota")
- if [ -z $mountoptions ]; then
+ if [ -z "$mountoptions" ]; then
echo "Enabling usrquota
& grpquota on $mountpoint"
#add option in fstab
mount -o
remount,usrquota,grpquota $mountpoint
-----------------------------------------------------------------------
Summary of changes:
src/plugins/quota_management/bin/install.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits