From 8aca1730ece57bd65d475c16ce5a6c7f235933e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Tue, 15 Apr 2008 21:31:06 +0000 Subject: [PATCH] use absolute path for awk in trying to bring back quotas. See #1008 --- 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 bc8df157..ac94f625 100755 --- a/src/quota_edit.sh +++ b/src/quota_edit.sh @@ -1,4 +1,4 @@ #!/bin/sh . /etc/alternc/local.sh -DATA_PART=`/bin/df ${ALTERNC_LOC} 2>/dev/null | awk '/^\// { print $1 }'` +DATA_PART=`/bin/df ${ALTERNC_LOC} 2>/dev/null | /usr/bin/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