summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDeepti Kulkarni <deepti@vyatta.com>2012-02-27 05:05:37 -0800
committerDeepti Kulkarni <deepti@vyatta.com>2012-02-27 05:05:37 -0800
commitbc1a57b55269c3d15a00f39ec74243f50f1dfe88 (patch)
treea48b8f03a56975b16f7cbd7efe2f87c289b7a89c /scripts
parent368ab77a3ce670548d9fdfffb94594ca1e31ca9c (diff)
downloadvyatta-op-bc1a57b55269c3d15a00f39ec74243f50f1dfe88.tar.gz
vyatta-op-bc1a57b55269c3d15a00f39ec74243f50f1dfe88.zip
fix for bug 7719 - delete system image should accept 'y' or 'n'
for a yes/no respectively.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-boot-image.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-boot-image.pl b/scripts/vyatta-boot-image.pl
index 2d53f1c..ef33658 100755
--- a/scripts/vyatta-boot-image.pl
+++ b/scripts/vyatta-boot-image.pl
@@ -481,7 +481,7 @@ sub doDelete {
}
chomp($resp);
$resp = lc($resp);
- if ($resp ne 'yes') {
+ if (($resp ne 'yes') && ($resp ne 'y')) {
print "Image is NOT deleted. Exiting...\n";
exit 1;
}