diff options
-rwxr-xr-x | bin/logster | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/logster b/bin/logster index 5b459c8..338c1f8 100755 --- a/bin/logster +++ b/bin/logster @@ -385,7 +385,7 @@ def main(): logger.info('Writing new state file and exiting. (Was either first run, or state file went missing.)') input = os.popen(shell_tail) retval = input.close() - if (retval != 256): + if not retval is None: logger.warning('%s returned bad exit code %s' % (shell_tail, retval)) end_locking(lockfile, logtail_lock_file) sys.exit(0) |