Closed fishi0x01 closed 4 years ago
Currently, the return code is always 0, also if a command failed. To comply with unix best practices, in non-interactive mode return codes should be non-zero on error, e.g.,:
$ vsh -c "cat /does/not/exist" $ echo $? 1
Currently, the return code is always 0, also if a command failed. To comply with unix best practices, in non-interactive mode return codes should be non-zero on error, e.g.,: