summaryrefslogtreecommitdiffstats
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
commitf992f6afa6f884a65c52de6304b48fdebce88e24 (patch)
tree9c4beafdd6f96bb4be09f35cf2eb2d2338ca6d8e
parent4e88ad42ede4fb73bab2efafe258a6a71b1936ca (diff)
downloaddrakx-f992f6afa6f884a65c52de6304b48fdebce88e24.tar
drakx-f992f6afa6f884a65c52de6304b48fdebce88e24.tar.gz
drakx-f992f6afa6f884a65c52de6304b48fdebce88e24.tar.bz2
drakx-f992f6afa6f884a65c52de6304b48fdebce88e24.tar.xz
drakx-f992f6afa6f884a65c52de6304b48fdebce88e24.zip
(install_module_raw) simplify
-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";
}