mirror of
https://github.com/samsonjs/csc360-a1-shell.git
synced 2026-03-25 08:45:52 +00:00
Make ECHILD a verbose log instead, since it's not broken
This commit is contained in:
parent
ae89630e69
commit
97c597d628
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue