OS X fix for usage function.

This commit is contained in:
Thomas Bouve
2016-08-06 21:53:34 +02:00
parent a3c482d8d9
commit c204a43305

View File

@@ -121,7 +121,7 @@ function usage ()
param '1: directory name'
group 'base'
if [ $(uname) = "Darwin" ]; then
if [ -n $1 ]; then
if [ -n "$1" ]; then
du -hd $1
else
du -hd 1