From 7a0f1d57c44bd1198f2b74971f322a254ed51901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 31 May 2007 17:03:47 +0000 Subject: [PATCH] use absolute path for df Closes: #1048 --- src/quota_edit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quota_edit.sh b/src/quota_edit.sh index 7e17aaa6..bc8df157 100755 --- a/src/quota_edit.sh +++ b/src/quota_edit.sh @@ -1,4 +1,4 @@ #!/bin/sh . /etc/alternc/local.sh -DATA_PART=`df ${ALTERNC_LOC} 2>/dev/null | awk '/^\// { print $1 }'` +DATA_PART=`/bin/df ${ALTERNC_LOC} 2>/dev/null | awk '/^\// { print $1 }'` /usr/sbin/setquota -r -g $1 $2 $2 0 0 $DATA_PART 2>/dev/null || echo "Group quota are not enabled on /var/alternc." >&2