Removing useless call
This commit is contained in:
parent
7811d081e7
commit
1e72ecb62a
|
@ -13,7 +13,7 @@ QUOTA=/usr/sbin/setquota
|
||||||
DF=/bin/df
|
DF=/bin/df
|
||||||
|
|
||||||
#checking if quotas are installed
|
#checking if quotas are installed
|
||||||
command -v $QUOTA >/dev/null && continue || { echo "Quotas uninstalled"; exit 1; }
|
command -v $QUOTA >/dev/null || { echo "Quotas uninstalled"; exit 1; }
|
||||||
|
|
||||||
if [ $# -ne 2 ] || [[ ! "$MID" =~ ^[0-9]+$ ]] || [[ ! "$SIZE" =~ ^[0-9]+$ ]]; then
|
if [ $# -ne 2 ] || [[ ! "$MID" =~ ^[0-9]+$ ]] || [[ ! "$SIZE" =~ ^[0-9]+$ ]]; then
|
||||||
echo "Usage: quota_edit <uid> <size>"
|
echo "Usage: quota_edit <uid> <size>"
|
||||||
|
|
Loading…
Reference in New Issue