summaryrefslogtreecommitdiff
path: root/ipif
diff options
context:
space:
mode:
authorian <ian>2002-06-23 22:32:06 +0000
committerian <ian>2002-06-23 22:32:06 +0000
commitbabeab5a089ac6654e7d4ba2d3667f35aa3d54e7 (patch)
tree3e16d6be21a06da23412171ffbe8f55326519740 /ipif
parent223e990a28c9ade7f3ba7fcd99689eaa922fd567 (diff)
downloaduserv-utils-babeab5a089ac6654e7d4ba2d3667f35aa3d54e7.tar.gz
@@ -1,6 +1,7 @@
+ * Report nonzero death of m4 better.
Diffstat (limited to 'ipif')
-rwxr-xr-xipif/udptunnel-reconf.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipif/udptunnel-reconf.pl b/ipif/udptunnel-reconf.pl
index d802e6f..e4851a4 100755
--- a/ipif/udptunnel-reconf.pl
+++ b/ipif/udptunnel-reconf.pl
@@ -55,7 +55,7 @@ sub run_m4 ($$$) {
undef $/;
$m4out= <X>;
$/= "\n";
- close X; $? and exit -1;
+ $!=0; close X; $? and die "m4 failed with code $? $!";
$m4out =~ s/^\s+//;
$m4out =~ s/\n+/\n/g;
$m4out =~ s/\s+$//;