removing 2>/dev/null of setfacl & quota to see the message (which one?) when there is a problem
This commit is contained in:
		
							parent
							
								
									c1ee7928aa
								
							
						
					
					
						commit
						7cf34472b8
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue