summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-04-09 16:29:20 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-04-09 16:29:20 +0000
commitbf5b9990d18afebffbe54d97026a659b2929f2ca (patch)
tree5e0851c57e8555ec3ac62d684a25591120b5f197 /perl-install/standalone
parent6d2de52e2efb836a61a3f4437bd2f172002828bd (diff)
downloaddrakx-bf5b9990d18afebffbe54d97026a659b2929f2ca.tar
drakx-bf5b9990d18afebffbe54d97026a659b2929f2ca.tar.gz
drakx-bf5b9990d18afebffbe54d97026a659b2929f2ca.tar.bz2
drakx-bf5b9990d18afebffbe54d97026a659b2929f2ca.tar.xz
drakx-bf5b9990d18afebffbe54d97026a659b2929f2ca.zip
do not die when an initscript returns non-0 (initscripts too buggy)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakgw5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index 85d0cb84e..d87e94f87 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -58,7 +58,7 @@ my $in = interactive::vnew('su');
pur_gtk_mode() if $::isEmbedded && ref($in) =~ /gtk/;
-sub sys { system(@_) == 0 or die "sys: $_[0]" }
+sub sys { system(@_) == 0 or log::l("[drakgw] Warning, sys failed for $_[0]") }
sub outpend { my $f = shift; local *F; open F, ">>$f" or die "outpend in file $f failed: $!\n"; print F foreach @_; }
@@ -656,6 +656,9 @@ Click on Configure to launch the setup wizard.", $setup_state));
#-------------------------------------------------
#- $Log$
+#- Revision 1.37 2001/04/09 16:29:20 gc
+#- do not die when an initscript returns non-0 (initscripts too buggy)
+#-
#- Revision 1.36 2001/04/09 11:39:40 gc
#- fix for when there is an already existing rc.firewall
#- complies with old format of drakgw so that upgrades will work