aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-08-26 13:13:27 +0100
committerGitHub2017-08-26 13:13:27 +0100
commita9d63745ef9f89ebbd3080e20954f1de1fadad51 (patch)
tree7ef7ce778fe5e816b8761cfe8d29304a96277c27 /Library
parent6d393decfe8099cb049c0ee62c6dc5877e54c0d7 (diff)
parent7b96fd008e332949b9d53ffe08e9de20dbff0e2d (diff)
downloadbrew-a9d63745ef9f89ebbd3080e20954f1de1fadad51.tar.bz2
Merge pull request #3088 from sjackman/safe-fork
safe_fork: Improve the error message
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils/fork.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/fork.rb b/Library/Homebrew/utils/fork.rb
index 92f5bf899..2f2a403e2 100644
--- a/Library/Homebrew/utils/fork.rb
+++ b/Library/Homebrew/utils/fork.rb
@@ -38,7 +38,7 @@ module Utils
Process.wait(pid) unless socket.nil?
raise Marshal.load(data) unless data.nil? || data.empty?
raise Interrupt if $CHILD_STATUS.exitstatus == 130
- raise "Suspicious failure" unless $CHILD_STATUS.success?
+ raise "Forked child process failed: #{$CHILD_STATUS}" unless $CHILD_STATUS.success?
end
end
end