[readonly/geninitrd: 466/1068] - typo

draenog draenog at pld-linux.org
Sat Nov 2 19:51:33 CET 2013


commit 9ae446b98070e4187b6177c4954fd634b763e566
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Oct 25 07:22:30 2007 +0000

    - typo
    
    svn-id: @8865

 geninitrd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 86acd0a..fffdd31 100755
--- a/geninitrd
+++ b/geninitrd
@@ -666,7 +666,7 @@ find_modules_for_device() {
 		find_modules_ide
 		findmodule "ataraid"
 		ataraidmodules="`awk '/ataraid_hostadapter/ && ! /^[\t ]*#/ { print $3; }' $modulefile`"
-		if -n "$ataraidmodules" ; then
+		if [ -n "$ataraidmodules" ]; then
 			# FIXME: think about modules compiled in kernel
 			die "ataraid_hostadapter alias not defined in $modulefile! Please set it and run $PROGRAM again."
 		fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090



More information about the pld-cvs-commit mailing list