Removing exit 2 call
This commit is contained in:
parent
89920d549f
commit
b918b7622c
|
@ -215,7 +215,7 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 13 ]; do
|
||||||
#we get the first existing dir
|
#we get the first existing dir
|
||||||
aclcheckfile="$basedir/test-acl"
|
aclcheckfile="$basedir/test-acl"
|
||||||
touch "$aclcheckfile"
|
touch "$aclcheckfile"
|
||||||
setfacl -m u:root:rwx "$aclcheckfile" 2>/dev/null || ( echo "Error : ACL aren't activated on $basedir AlternC can't work without it." ; exit 2)
|
setfacl -m u:root:rwx "$aclcheckfile" 2>/dev/null
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
db_input critical alternc/acluninstalled || true
|
db_input critical alternc/acluninstalled || true
|
||||||
|
@ -225,7 +225,7 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 13 ]; do
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
quota_activation=`$(quota -gA -f $MOUNT_POINT >/dev/null)`
|
quota -gA -f $MOUNT_POINT 2>/dev/null
|
||||||
|
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue