removing 2>/dev/null of setfacl & quota to see the message (which one?) when there is a problem

This commit is contained in:
Benjamin Sonntag 2014-10-02 13:58:49 +02:00
parent c1ee7928aa
commit 7cf34472b8
1 changed files with 2 additions and 2 deletions

View File

@ -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