summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-05 12:01:58 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-05 12:01:58 +0000
commit606d4a0d71678f74bb52d5e969a092e6dc8b2364 (patch)
treed085dbbd50215483c34f46b22405db83ca48f32f /perl-install/standalone
parent0d9a2ced4fe0b2356cf3e0049ee5b5a1eb25e1a6 (diff)
downloaddrakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.tar
drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.tar.gz
drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.tar.bz2
drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.tar.xz
drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.zip
do not remve network interfaces in --testing mode
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakconnect2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 5a42e5a9c..620158652 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -219,7 +219,7 @@ sub del_intf() {
name => N("Select the network interface to remove:"),
data => [ { label => N("Net Device"), val => \$intf, list => [ detect_devices::getNet() ], allow_empty_list => 1 } ],
post => sub {
- eval {
+ !$::testing and eval {
modules::mergein_conf('/etc/modules.conf');
modules::remove_alias($intf);
modules::write_conf();