use absolute path for awk in trying to bring back quotas. See #1008
This commit is contained in:
parent
83be236897
commit
8aca1730ec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue