From 4ed6b465ec0ad0d0c4e40c3a55592e0a78b7e316 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Thu, 24 Jan 2008 18:52:26 +0000 Subject: [PATCH] check for zero length strings --- system/selftest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/selftest b/system/selftest index 02753ea..47b72f8 100755 --- a/system/selftest +++ b/system/selftest @@ -3,8 +3,8 @@ SELF_HOST=$1 SELF_IP=$2 # all below addresses are those of the qemu host -[ -n "$SELF_HOST" ] && SELF_HOST="selftest.$(hostname)" -[ -n "$SELF_IP" ] && SELF_IP="10.1.159.48" +[ -z "$SELF_HOST" ] && SELF_HOST="selftest.$(hostname)" +[ -z "$SELF_IP" ] && SELF_IP="10.1.159.48" #################################################### -- 2.47.0