diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-09 16:29:20 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-09 16:29:20 +0000 |
commit | bf5b9990d18afebffbe54d97026a659b2929f2ca (patch) | |
tree | 5e0851c57e8555ec3ac62d684a25591120b5f197 /perl-install | |
parent | 6d2de52e2efb836a61a3f4437bd2f172002828bd (diff) | |
download | drakx-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')
-rwxr-xr-x | perl-install/standalone/drakgw | 5 |
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 |