]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Make sure that "mount" emits no error messages
authorAlexander Barton <alex@barton.de>
Sun, 27 Feb 2011 17:59:29 +0000 (18:59 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 27 Feb 2011 17:59:29 +0000 (18:59 +0100)
sys/profile

index c18aa574d5d7aa540575e881f07af9c4227d421f..4295e48d1045cd3235e4465d4acbe8992b57f185 100644 (file)
@@ -141,7 +141,7 @@ fi
        && . /etc/ksh.kshrc
 
 # Check filesystem quotas
-mount | grep quota >/dev/null 2>&1
+mount 2>/dev/null | grep quota >/dev/null 2>&1
 if [ $? -eq 0 ]; then
        which quota >/dev/null 2>&1
        [ $? -eq 0 ] && quota -q