X-Git-Url: https://git.distorted.org.uk/~mdw/userv-utils/blobdiff_plain/99d1b3be1fa96c22212b8940aa2e8607bad1803b..2158ffac922b3cb7722c1589b1f681344b212dd7:/ipif/udptunnel-reconf.pl?ds=sidebyside diff --git a/ipif/udptunnel-reconf.pl b/ipif/udptunnel-reconf.pl index d802e6f..6b77f97 100755 --- a/ipif/udptunnel-reconf.pl +++ b/ipif/udptunnel-reconf.pl @@ -3,6 +3,9 @@ # Set up the relevant stuff in /etc/userv/vpn, and then run # this. It should tell you what to do to inittab and ipif-networks. +# Copyright (C) 1999-2000,2003 Ian Jackson +# This file is part of ipif, part of userv-utils +# # This is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -55,7 +58,7 @@ sub run_m4 ($$$) { undef $/; $m4out= ; $/= "\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+$//;