Commit fa5a262a authored by Luke Redpath's avatar Luke Redpath

Only check the exit status if the process has actually exited, otherwise

it will return a nil exit status.
parent 09877a0b
......@@ -102,7 +102,7 @@ module Pod
end
# appledoc exits with 1 if a warning was logged
if (process.exitstatus >= 2) && !config.silent?
if process.exited? && (process.exitstatus >= 2) && !config.silent?
puts "[!] Appledoc encountered an error. Run 'pod install --verbose' for details."
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment