OS X fix for usage function.

pull/777/head
Thomas Bouve 2016-08-06 21:53:34 +02:00
parent a3c482d8d9
commit c204a43305
1 changed files with 1 additions and 1 deletions

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