SVN: geninitrd/trunk/geninitrd

arekm arekm at pld-linux.org
Thu Aug 4 22:52:39 CEST 2011


Author: arekm
Date: Thu Aug  4 22:52:39 2011
New Revision: 12300

Modified:
   geninitrd/trunk/geninitrd
Log:
find_depmod(): Return 0 in non-fatal cases (prevent non-zero exit codes from slipping).

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Thu Aug  4 22:52:39 2011
@@ -314,7 +314,7 @@
 
 	if [ $? != 0 ]; then
 		if [ $skiperrors = 1 ]; then
-			return
+			return 0
 		fi
 		echo >&2 "$modprobe"
 
@@ -330,6 +330,7 @@
 	while read insmod modpath options; do
 		[ "$insmod" = "insmod" ] && echo $modpath
 	done
+	return 0
 }
 
 find_firmware() {


More information about the pld-cvs-commit mailing list