forked from LaconicNetwork/kompose
make kompose exit with 1 if error (#1343)
Old code passes -1 to os.Exit and the value is directly passed to syscall. The behavior with -1 depends on environments (most cases should convert into 255 though) This commit is to remove unnecessary the ambiguity and change it to use 1 instead of 255.
This commit is contained in:
Reference in New Issue
Block a user