summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlamont-granquist <lamont@scriptkiddie.org>2014-07-16 18:11:08 -0700
committerlamont-granquist <lamont@scriptkiddie.org>2014-07-16 18:11:08 -0700
commitb5e27147f0a5f0ccf44ff4968be2bdfb0c2ce35d (patch)
treef11c95d54457edfedcc12e00b9ca3f09d9a485b0
parentbcb4e4554795c101362a7aad351f817d41d8fae2 (diff)
parent369c0ef8258bc25f43d8f45f8913495dd214389d (diff)
downloadmixlib-shellout-b5e27147f0a5f0ccf44ff4968be2bdfb0c2ce35d.tar.gz
Merge pull request #52 from opscode/lcg/aix-eperm
AIX returns Errno::EPERM here
-rw-r--r--lib/mixlib/shellout/unix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout/unix.rb b/lib/mixlib/shellout/unix.rb
index b8f4a17..46c2c73 100644
--- a/lib/mixlib/shellout/unix.rb
+++ b/lib/mixlib/shellout/unix.rb
@@ -115,7 +115,7 @@ module Mixlib
# If the child dies very quickly, @child_pid may be a zombie, so handle
# ESRCH here.
@child_pgid = -Process.getpgid(@child_pid)
- rescue Errno::ESRCH
+ rescue Errno::ESRCH, Errno::EPERM
@child_pgid = nil
end