From ec91bcae52bb39fcf6800660063447393d0407e5 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 8 Sep 2010 09:38:50 -0700 Subject: Fix quoting of shell -z The -z test in shell needs to be quoted to avoid issues with shell expansion. --- scripts/install/install-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install/install-image') diff --git a/scripts/install/install-image b/scripts/install/install-image index 44414846..cd486404 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -215,7 +215,7 @@ Vyatta image to a local hard drive. EOF response='' -while [ -z $response ] +while [ -z "$response" ] do echo -n "Would you like to continue? (Yes/No) [Yes]: " response=$(get_response "Yes" "Yes No Y N") -- cgit v1.2.3