diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2016-08-22 10:59:51 +0800 |
---|---|---|
committer | dongwenjuan <dong.wenjuan@zte.com.cn> | 2016-08-22 10:59:51 +0800 |
commit | a60aa0abf92a6658b2af446a02617e6832fc8412 (patch) | |
tree | a5137ef17d66cc94547d603e92aec2bad6612fb2 | |
parent | 5ef69fe5a6d84686b44e3d8b455c5fd69094d0d9 (diff) |
string compare use `!=` not `-ne`
Change-Id: I1e3ef0ed1483de6e0b4c4a4101b509a3a3ec2465
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
-rwxr-xr-x | tests/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh index ccc270a4..a972c35d 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -59,7 +59,7 @@ get_installer_ip() { fi fi - if [[ "$INSTALLER_TYPE" -ne "local" ]] ; then + if [[ "$INSTALLER_TYPE" != "local" ]] ; then if [[ -z "$INSTALLER_IP" ]] ; then echo "ERROR: no installer ip" exit 1 |