From f992f6afa6f884a65c52de6304b48fdebce88e24 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 23 May 2012 18:26:03 +0000 Subject: (install_module_raw) simplify --- rescue/drvinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rescue/drvinst') 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"; } -- cgit v1.2.1