diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-09-08 09:38:50 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-09-08 09:38:50 -0700 |
commit | ec91bcae52bb39fcf6800660063447393d0407e5 (patch) | |
tree | d629eea53792706f1cc4cc10f3152f4a63a0a94d /scripts/install/install-image | |
parent | 84c8616cb9b8f3847f6a8581e49e92d02b335beb (diff) | |
download | vyatta-cfg-system-ec91bcae52bb39fcf6800660063447393d0407e5.tar.gz vyatta-cfg-system-ec91bcae52bb39fcf6800660063447393d0407e5.zip |
Fix quoting of shell -z
The -z test in shell needs to be quoted to avoid issues
with shell expansion.
Diffstat (limited to 'scripts/install/install-image')
-rwxr-xr-x | scripts/install/install-image | 2 |
1 files changed, 1 insertions, 1 deletions
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") |