mirror of
https://github.com/samsonjs/csc360-a1-shell.git
synced 2026-04-27 14:57:43 +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)
|
Process.waitpid(pid)
|
||||||
$CHILD_STATUS.exitstatus
|
$CHILD_STATUS.exitstatus
|
||||||
rescue Errno::ECHILD => e
|
rescue Errno::ECHILD => e
|
||||||
# FIXME: why does this happen?
|
# FIXME: why does this happen? doesn't seem to be a real problem
|
||||||
warn "#{YELLOW}[WARN]#{CLEAR} #{e.message} but child was just forked 🧐"
|
logger.verbose "#{YELLOW}#{e.message}#{CLEAR} but child was just forked 🧐"
|
||||||
-3
|
0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue