We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cfc79e9 + 328aae2 commit 385f009Copy full SHA for 385f009
1 file changed
lib/puppet/parser/functions/validate_cmd.rb
@@ -42,6 +42,9 @@ module Puppet::Parser::Functions
42
rescue Puppet::ExecutionFailure => detail
43
msg += "\n#{detail}"
44
raise Puppet::ParseError, msg
45
+ rescue SystemCallError => detail
46
+ msg += "\nWin32::Process::SystemCallError #{detail}"
47
+ raise Puppet::ParseError, msg
48
ensure
49
tmpfile.unlink
50
end
0 commit comments