small syntax fix
authorRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 18:01:32 +0000 (20:01 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 18:01:32 +0000 (20:01 +0200)
all

diff --git a/all b/all
index 05324b5c78fa1d007ab733469c3d02b234de1daa..739ff1466e8f20fd3fe736b5bd1388bfe39c8bca 100755 (executable)
--- a/all
+++ b/all
@@ -484,7 +484,7 @@ case "$cmd" in
                                                ;;
                                esac
                        done
-                       if [ "$TARGETS" ]; then # at least a valid client
+                       if [ -n "$TARGETS" ]; then # at least a valid client
                                shift
                        else # no valid client, let's assume this option is not meant to be a client then
                                TARGETS=$TARGETS_SAVE