diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2010-04-26 12:25:39 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2010-04-26 12:25:39 -0700 |
commit | ed1cf8a595bbcf46c515d1ee14095ba47e661d36 (patch) | |
tree | 3ca72f18d72cf4c22a0b1dea80199ccbf8e4f960 | |
parent | 33f1dc8636595650172ca738b0b81ea5d77725bf (diff) | |
download | vyatta-op-ed1cf8a595bbcf46c515d1ee14095ba47e661d36.tar.gz vyatta-op-ed1cf8a595bbcf46c515d1ee14095ba47e661d36.zip |
Bugfix 5549: Use proper prompt string when deleting image.
-rwxr-xr-x | scripts/vyatta-boot-image.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-boot-image.pl b/scripts/vyatta-boot-image.pl index 276d704..d81a738 100755 --- a/scripts/vyatta-boot-image.pl +++ b/scripts/vyatta-boot-image.pl @@ -489,7 +489,7 @@ exit 0 if (defined($show) || (!defined($sel) && !defined($del))); # show-only # for doing select my $prompt_msg = 'Select the default boot image: '; my $error_msg = 'Invalid selection. Default is not changed.'; -if ($del) { +if (defined ($del)) { # doing delete $prompt_msg = 'Select the image to delete: '; $error_msg = 'Invalid selection. Nothing is deleted.'; |