From 7cf34472b87cb8bd56aee398f7d87300a6a8cd97 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 2 Oct 2014 13:58:49 +0200 Subject: [PATCH] removing 2>/dev/null of setfacl & quota to see the message (which one?) when there is a problem --- debian/alternc.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/alternc.config b/debian/alternc.config index 978f43d3..695cfb5e 100644 --- a/debian/alternc.config +++ b/debian/alternc.config @@ -270,7 +270,7 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 14 ]; do # Get the first existing dir aclcheckfile="$basedir/test-acl" touch "$aclcheckfile" - setfacl -m u:root:rwx "$aclcheckfile" 2>/dev/null || ( + setfacl -m u:root:rwx "$aclcheckfile" || ( test -e "$aclcheckfile" && rm -f "$aclcheckfile" || true db_input high alternc/acluninstalled || true db_go || true @@ -278,7 +278,7 @@ while [ "$QUEST_STATE" != 0 -a "$QUEST_STATE" != 14 ]; do ) test -e "$aclcheckfile" && rm -f "$aclcheckfile" || true - quota -gA -f $MOUNT_POINT 2>/dev/null || ( + quota -gA -f $MOUNT_POINT || ( db_get alternc/quotauninstalled if [ -z "$RET" ]; then db_input critical alternc/quotauninstalled || true