diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-07-25 12:15:32 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-07-25 12:15:32 +0200 |
commit | 56d729bf2f19207eb16668218b59ff551db2ce3b (patch) | |
tree | c76216b69583ef2bc12871fa6d173ee7584c84a0 /scripts/install | |
parent | 61a4823d73d8a12e0f750edafaa1faabeb78e9af (diff) | |
download | vyatta-cfg-system-56d729bf2f19207eb16668218b59ff551db2ce3b.tar.gz vyatta-cfg-system-56d729bf2f19207eb16668218b59ff551db2ce3b.zip |
Bug #269: missed return in is_ec2_ami.
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/install-image-existing | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |