X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Ffunctions;h=2eac61f94e6e53312c165cd3ad13023a6db4ce47;hb=f64dbf290eb891ebee9b40eabd5240d15a873568;hp=a4c46b97a3ccdf7f90a37420c925a7eb6a89cf54;hpb=d6876b30bb55ce8b8357c2f8c1d78da83950bb82;p=util-vserver.git diff --git a/scripts/functions b/scripts/functions index a4c46b9..2eac61f 100644 --- a/scripts/functions +++ b/scripts/functions @@ -91,7 +91,7 @@ function isDirectoryEmpty shopt -s nullglob || * ignore_lostfound=1 - test -z "$2" -o "$2" = 0 || ignore_lostfound= + test -n "$2" -a "$2" != 0 || ignore_lostfound= for i in "$1"/*; do case "$i" in