From 83916bfda630a4c5797d44f61cfac8304ed279e5 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') 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