From b918b7622cca60f4c9a4fe25b1cc8463f7d3a5e9 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Fri, 1 Mar 2013 08:44:59 +0000 Subject: [PATCH] Removing exit 2 call --- debian/alternc.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/alternc.config b/debian/alternc.config index df7a824c..0003d4ec 100644 --- a/debian/alternc.config +++ b/debian/alternc.config @@ -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