usharesoft / hammr

Command-line tool for building consistent and repeatable machine images for multiple cloud platforms
http://hammr.io
Apache License 2.0
28 stars 24 forks source link

`hammr template create` returns 0 when appliance already exists #517

Closed ghost closed 5 years ago

ghost commented 5 years ago

Steps to reproduce

Expected result Hammr should raises an error (Template create: An appliance with the same name and version already exists ) and return 2.

Actual result Hammr raises an error message: Template create: An appliance with the same name and version already exists but the exit code is 0.

ghost commented 5 years ago

13639