aacebedo / machination

An helper to create virtual machines using Docker and Vagrant
2 stars 2 forks source link

[bug] return code is 0 on failed cmd #43

Closed mzemb closed 9 years ago

mzemb commented 9 years ago

machination start --verbose

fails and print an error

"Unable to start machine instance '': Error while starting machine instance: ''.

But the return code transmited to bash is 0.

Problem: should change the way action are launched from argument parsing.

aacebedo commented 9 years ago

Done

mzemb commented 9 years ago

Not fixed for all cases:

machination create --guestinterface 'eth0|192.168.3.100|auto|instA' --no-interactive --verbose myTemplate:1.0 instA

fails with a raise InvalidCmdLineArgument but returns an error code of 0 to the shell.