summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:26:03 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:26:03 +0000
commit83916bfda630a4c5797d44f61cfac8304ed279e5 (patch)
tree9c4beafdd6f96bb4be09f35cf2eb2d2338ca6d8e /rescue
parenta0564b971b3938cf7a8e46678a72eb21723460f9 (diff)
downloaddrakx-backup-do-not-use-83916bfda630a4c5797d44f61cfac8304ed279e5.tar
drakx-backup-do-not-use-83916bfda630a4c5797d44f61cfac8304ed279e5.tar.gz
drakx-backup-do-not-use-83916bfda630a4c5797d44f61cfac8304ed279e5.tar.bz2
drakx-backup-do-not-use-83916bfda630a4c5797d44f61cfac8304ed279e5.tar.xz
drakx-backup-do-not-use-83916bfda630a4c5797d44f61cfac8304ed279e5.zip
(install_module_raw) simplify
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/drvinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/drvinst b/rescue/drvinst
index d225755bf..ca9b807cd 100755
--- a/rescue/drvinst
+++ b/rescue/drvinst
@@ -21,7 +21,7 @@ my @types = @ARGV;
sub install_module_raw {
my ($driver, $o_descr) = @_;
- print STDERR "Installing driver $driver", $o_descr ? qq( (for "$o_descr")) : '', "\n";
+ print STDERR "Installing driver $driver", if_($o_descr, qq( (for "$o_descr"))), "\n";
system("/sbin/modprobe", $driver) and print "\tfailed\n";
}