summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-12 22:20:34 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-12 22:22:43 +0000
commit37d5d4df4e6b072f8a735fc9a422697ec56fe13d (patch)
tree88452a882d6b4ccb6cb818efb3776155375c628e /perl.c
parentefdc43f5015438920ce11f05539e55cb02940377 (diff)
downloadperl-37d5d4df4e6b072f8a735fc9a422697ec56fe13d.tar.gz
Fix my refactoring typo in change 33001 that broke suidperl, only spotted 11
months later, after 5.8.9 was released.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index c6c856d75a..d02514ca7a 100644
--- a/perl.c
+++ b/perl.c
@@ -3665,7 +3665,7 @@ S_open_script(pTHX_ const char *scriptname, bool dosearch,
* perl with that fd as it has always done.
*/
}
- if (*suidscript) {
+ if (!*suidscript) {
Perl_croak(aTHX_ "suidperl needs (suid) fd script\n");
}
#else /* IAMSUID */