From 56d729bf2f19207eb16668218b59ff551db2ce3b Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 25 Jul 2014 12:15:32 +0200 Subject: Bug #269: missed return in is_ec2_ami. --- scripts/install/install-image-existing | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/install') diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing index d7f2578b..080313bd 100755 --- a/scripts/install/install-image-existing +++ b/scripts/install/install-image-existing @@ -46,6 +46,11 @@ is_amazon_ec2_ami () { # Create init script links for /etc/init.d/ec2-fetch-ssh-public-key chroot $INST_ROOT update-rc.d ec2-fetch-ssh-public-key defaults &>/dev/null + + # Dijkstra, forgive us! + return 0 + else + return 1 fi } -- cgit v1.2.3