Permalink
Browse files

Croak when the requested file isn't found

Fixes #78492 for IPC-Run3: Croak for errors like "No such file or directory at...
  • Loading branch information...
doherty authored and rjbs committed Sep 28, 2012
1 parent cb0f062 commit 3de52d43d8a49dcb653f301b1dcfce26e54d97d1
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 lib/IPC/Run3.pm
View
@@ -0,0 +1 @@
+t/test.txt
View
@@ -423,7 +423,7 @@ sub run3 {
}
}
- die $! if defined $r && $r == -1 && !$options->{return_if_system_error};
+ croak $! if defined $r && $r == -1 && !$options->{return_if_system_error};
1;
};

0 comments on commit 3de52d4

Please sign in to comment.