Whamcloud - gitweb
New tag 2.5.55
[fs/lustre-release.git] / lustre-iokit / obdfilter-survey / libecho
index c34d9c8..b1d496f 100644 (file)
@@ -26,7 +26,7 @@
 # Copyright  2008 Sun Microsystems, Inc. All rights reserved
 # Use is subject to license terms.
 #
-# Copyright (c) 2012, Whamcloud, Inc.
+# Copyright (c) 2012, Intel Corporation.
 #
 # This file is part of Lustre, http://www.lustre.org/
 # Lustre is a trademark of Sun Microsystems, Inc.
@@ -217,7 +217,7 @@ cleanup () {
     shift
     for ((i = 0; i < $ndevs; i++)); do
         host=${host_names[$i]}
-        if [ -n ${do_teardown_ec[$i]} ]; then
+        if [[ -n "${do_teardown_ec[$i]}" ]]; then
             teardown_ec_devno $host ${client_names[$i]}
         fi
     done