summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-17 23:50:45 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-17 23:50:45 +0000
commit6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f (patch)
treeaa3f544f07c559b2ab3507ab0e59337c5185ca88 /perl-install/standalone
parentd6fa0eac3f964968cea9acc45802e2b9d2188151 (diff)
downloaddrakx-backup-do-not-use-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.tar
drakx-backup-do-not-use-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.tar.gz
drakx-backup-do-not-use-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.tar.bz2
drakx-backup-do-not-use-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.tar.xz
drakx-backup-do-not-use-6e36e5d6b1d55a4a3bc3796c11e6d306a72d139f.zip
kill warnings
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/harddrake22
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 38e897f37..37267f493 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -254,7 +254,7 @@ $tree->get_selection->signal_connect('changed' => sub {
show_hide(defined($current_device->{driver}) && $current_device->{driver} !~ /^unknown|^Bad|^Card|^Hsf|^Removable:|\|/, $module_cfg_button);
$current_configurator = $configurators[$idx];
- show_hide(-x first(split /\s+/, $current_configurator), $config_button); # strip arguments for -x test
+ show_hide($current_configurator && -x first(split /\s+/, $current_configurator), $config_button); # strip arguments for -x test
return 1;
}
}