From ad2cb8b4f6e8715e54c9e4ec3059cfe0831fda87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Sat, 15 May 1999 11:46:00 +0000 Subject: [PATCH] Return 0 for an error, 1 for no error from read_options; that's what the calling code seems to expect. --- util/mk1mf.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 355143b70..fa2149e8a 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -831,6 +831,6 @@ sub read_options elsif (/^-[lL].*$/) { $l_flags.="$_ "; } elsif ((!/^-help/) && (!/^-h/) && (!/^-\?/) && /^-.*$/) { $c_flags.="$_ "; } - else { return(1); } - return(0); + else { return(0); } + return(1); }