Relaunch hammr template build --file <template> with the same template file and before the end of the first generation.
Expected result
Hammr should raises an error (An image for VirtualBox is already being generated. Please wait until this generation is complete before relaunching. ) and return 2.
Actual result
Hammr raises an error message: An image for VirtualBox is already being generated. Please wait until this generation is complete before relaunching. but the exit code is 0.
Steps to reproduce
hammr template build --file <template>
.hammr template build --file <template>
with the same template file and before the end of the first generation.Expected result Hammr should raises an error (
An image for VirtualBox is already being generated. Please wait until this generation is complete before relaunching.
) and return 2.Actual result Hammr raises an error message:
An image for VirtualBox is already being generated. Please wait until this generation is complete before relaunching.
but the exit code is 0.