foreman run should exit with the same code as its command

This commit is contained in:
Omar Khan
2012-08-24 16:50:05 +01:00
parent 68f098c1d2
commit 574e852710
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -86,6 +86,7 @@ class Foreman::CLI < Thor
end
end
Process.wait(pid)
exit $?.exitstatus
end
desc "version", "Display Foreman gem version"