X-Git-Url: https://arthur.barton.de/gitweb/?p=ConfigScripts.git;a=blobdiff_plain;f=sys%2Fprofile;h=ce201d4d4fead80992ac9835689efc99f4382eff;hp=97a7e67da6baad3e0c540144481df9af37c6db8f;hb=949dbef7f8ddb7fea7fd5ca6172bd740479f8e38;hpb=2e2926ffc9b0dc708a9e30ffab2d726c2b604d2c diff --git a/sys/profile b/sys/profile index 97a7e67..ce201d4 100644 --- a/sys/profile +++ b/sys/profile @@ -137,7 +137,10 @@ fi && . /etc/ksh.kshrc # Check filesystem quotas -which quota >/dev/null 2>&1 -[ $? -eq 0 ] && quota -q +mount | grep quota >/dev/null 2>&1 +if [ $? -eq 0 ]; then + which quota >/dev/null 2>&1 + [ $? -eq 0 ] && quota -q +fi # -eof-