Make ECHILD a verbose log instead, since it's not broken

This commit is contained in:
Sami Samhuri 2022-01-17 00:52:11 -08:00
parent ae89630e69
commit 97c597d628
No known key found for this signature in database
GPG key ID: 4B4195422742FC16

View file

@ -133,9 +133,9 @@ class Shell
Process.waitpid(pid)
$CHILD_STATUS.exitstatus
rescue Errno::ECHILD => e
# FIXME: why does this happen?
warn "#{YELLOW}[WARN]#{CLEAR} #{e.message} but child was just forked 🧐"
-3
# FIXME: why does this happen? doesn't seem to be a real problem
logger.verbose "#{YELLOW}#{e.message}#{CLEAR} but child was just forked 🧐"
0
end
end
else