Skip to content
Snippets Groups Projects
Commit c449c364 authored by Michel Memeteau's avatar Michel Memeteau
Browse files

Use /data/domains root dir for domains

parent 9171938b
No related branches found
No related tags found
No related merge requests found
...@@ -107,10 +107,7 @@ case "$1" in ...@@ -107,10 +107,7 @@ case "$1" in
echo "getsize requires a domainname argument." echo "getsize requires a domainname argument."
exit 1 exit 1
fi fi
echo $(du -hs /data/domains/${2}) |cut -d ' ' -f 1;;
SIZE="`du -hs ${2}`"
#SIZE=${SIZE%G*}
echo $(du -hs ${2}) |cut -d ' ' -f 1;;
*) *)
show_usage show_usage
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment