diff --git a/chaperone/cproc/process_manager.py b/chaperone/cproc/process_manager.py index 0ac74e7..9726557 100644 --- a/chaperone/cproc/process_manager.py +++ b/chaperone/cproc/process_manager.py @@ -223,7 +223,7 @@ def kill_system(self, errno = None, force = False): elif self._killing_system: return - if self._exitcode is None and errno is not None: + if self._exitcode is None and errno != 0: self._exitcode = 1 # default exit for an error self.notify.error(errno) diff --git a/chaperone/cproc/version.py b/chaperone/cproc/version.py index 1ee4fbb..6fc5f33 100644 --- a/chaperone/cproc/version.py +++ b/chaperone/cproc/version.py @@ -1,7 +1,7 @@ # This file is designed to be used as a package module, but also as a main program runnable # by Python2 or Python3 which will print the version. Used in setup.py -VERSION = (0,3,12) +VERSION = (0,3,13) DISPLAY_VERSION = ".".join([str(v) for v in VERSION]) LICENSE = "Apache License, Version 2.0"