[readonly/geninitrd/devel: 199/334] Ups, debugging left - removed.

draenog draenog at pld-linux.org
Sat Nov 2 19:28:15 CET 2013


commit 38228bb7869ba1e3028ab5eba006950fb2b6537c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Apr 2 23:17:58 2004 +0000

    Ups, debugging left - removed.
    
    svn-id: @3864

 geninitrd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 007f6f1..2b9104a 100755
--- a/geninitrd
+++ b/geninitrd
@@ -574,7 +574,7 @@ find_modules_for() {
 			findmodule "$n"
 		done
 	# check to see if we need to set up a loopback filesystem
-	elif [ 1 -eq 0 ] && is_yes "`echo "$1" | awk -F/ '{print($3);}' | awk '/loop/ { print "yes"; }'`" ; then
+	elif is_yes "`echo "$1" | awk -F/ '{print($3);}' | awk '/loop/ { print "yes"; }'`" ; then
 		echo "Sorry, root on loop device isn't supported." 1>&2
 		exit 1
 		# TODO: rewrite for bsp and make nfs ready
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11



More information about the pld-cvs-commit mailing list