Fixed #1414 - Return code from waitpid now right shifted 8 bits
This commit is contained in:
Родитель
61b9bcd26f
Коммит
0a0fcafa3e
|
@ -1,4 +1,6 @@
|
|||
0.24.5
|
||||
Fixed #1414 - Return code from waitpid now right shifted 8 bits
|
||||
|
||||
Fixed #174 - a native type type for managing ssh authorized_keys
|
||||
files is available.
|
||||
|
||||
|
|
|
@ -313,7 +313,7 @@ module Util
|
|||
$VERBOSE = oldverb
|
||||
if child_pid
|
||||
# Parent process executes this
|
||||
child_status = Process.waitpid2(child_pid)[1]
|
||||
child_status = (Process.waitpid2(child_pid)[1]).to_i >> 8
|
||||
else
|
||||
# Child process executes this
|
||||
Process.setsid
|
||||
|
|
Загрузка…
Ссылка в новой задаче