Removing exit 2 call

This commit is contained in:
Steven Mondji-Lerider 2013-03-01 08:44:59 +00:00
parent 89920d549f
commit b918b7622c
1 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 13 ]; do
#we get the first existing dir
aclcheckfile="$basedir/test-acl"
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
db_input critical alternc/acluninstalled || true
@ -225,7 +225,7 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 13 ]; do
exit 2
fi
quota_activation=`$(quota -gA -f $MOUNT_POINT >/dev/null)`
quota -gA -f $MOUNT_POINT 2>/dev/null
if [ $? -ne 0 ]; then