diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2007-08-17 18:36:35 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2007-08-17 18:36:35 -0500 |
commit | 78edd167ace617f4647701e70b79e32f1cbd2ab0 (patch) | |
tree | 2bda38b9e952483216152df81df195e6de372f6c /lib | |
parent | 8034d023ee48d1f06aa83c9c0e17251290be159a (diff) | |
download | io-pty-easy-78edd167ace617f4647701e70b79e32f1cbd2ab0.tar.gz io-pty-easy-78edd167ace617f4647701e70b79e32f1cbd2ab0.zip |
this should have been a croak
Diffstat (limited to 'lib')
-rw-r--r-- | lib/IO/Pty/Easy.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/IO/Pty/Easy.pm b/lib/IO/Pty/Easy.pm index a75b391..b07154f 100644 --- a/lib/IO/Pty/Easy.pm +++ b/lib/IO/Pty/Easy.pm @@ -119,8 +119,7 @@ sub spawn { # set up a pipe to use for keeping track of the child process during exec my ($readp, $writep); unless (pipe($readp, $writep)) { - carp "Failed to create a pipe"; - return; + croak "Failed to create a pipe"; } $writep->autoflush(1); |