From 369c0ef8258bc25f43d8f45f8913495dd214389d Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 8 Jul 2014 15:45:17 -0700 Subject: AIX returns Errno::EPERM here --- lib/mixlib/shellout/unix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mixlib') 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 -- cgit v1.2.1