wilas / vbkick

Tool for building and maintaining VirtualBox VMs described as a code in a single definition file.
Other
8 stars 5 forks source link

not exitting subshell on error #51

Closed wilas closed 10 years ago

wilas commented 10 years ago

Error handling for the subshell doesn't work - program continues even there is an error.

Here is a good explanation of this problem: http://fvue.nl/wiki/Bash:_Error_handling#Caveat_2:_.60Exit_on_error.27_not_exitting_subshell_on_error

I need to think about good solution for this in the vbkick.

wilas commented 10 years ago

I think it was only a problem with openssl. The reason for that is that openssl always exit with the status code 0, even if command fail e.g. not supporting digest command.