diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-02-01 15:39:25 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-02-01 15:39:25 +0100 |
commit | 2b59a12cc00e0b0f593547b9b56350400f9fdfc8 (patch) | |
tree | 536ed2a19a697385ed9c6e0227698f4879821659 /psutil/_psposix.py | |
parent | 86fc3ee3acb2d2ae0e8186b1ae8a55567417759a (diff) | |
parent | b524439056484e81a17407dc31cfcea1ff81715b (diff) | |
download | psutil-371-temperatures.tar.gz |
merge from master371-temperatures
Diffstat (limited to 'psutil/_psposix.py')
-rw-r--r-- | psutil/_psposix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_psposix.py b/psutil/_psposix.py index acbc7855..6debdb32 100644 --- a/psutil/_psposix.py +++ b/psutil/_psposix.py @@ -110,7 +110,7 @@ def wait_pid(pid, timeout=None): # process exited due to a signal; return the integer of # that signal if os.WIFSIGNALED(status): - return os.WTERMSIG(status) + return -os.WTERMSIG(status) # process exited using exit(2) system call; return the # integer exit(2) system call has been called with elif os.WIFEXITED(status): |