We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7efa13 commit 42a100cCopy full SHA for 42a100c
bin/v-add-sys-quota
@@ -66,6 +66,11 @@ chmod a+x /etc/cron.daily/quotacheck
66
# Enabling fs quota
67
if [ ! -z "$(quotaon -pa|grep " $mnt "|grep user|grep 'off')" ]; then
68
quotaon $mnt
69
+ if [ $? -ne 0 ]; then
70
+ echo "Error: quota can't be enabled on $mnt partition"
71
+ log_event "$E_DISK" "$EVENT"
72
+ exit $E_DISK
73
+ fi
74
fi
75
76
# Updating DISK_QUOTA value
0 commit comments