SOURCES: setup-update-fstab.c - don't fail when there's no usbfs e...

sparky sparky at pld-linux.org
Thu Sep 22 14:58:23 CEST 2005


Author: sparky                       Date: Thu Sep 22 12:58:23 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't fail when there's no usbfs entry

---- Files affected:
SOURCES:
   setup-update-fstab.c (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/setup-update-fstab.c
diff -u SOURCES/setup-update-fstab.c:1.2 SOURCES/setup-update-fstab.c:1.3
--- SOURCES/setup-update-fstab.c:1.2	Sat Sep 17 15:10:26 2005
+++ SOURCES/setup-update-fstab.c	Thu Sep 22 14:58:18 2005
@@ -70,7 +70,7 @@
 	}
 	if ( i >= old_sz ) {
 		eputs("\nError: can't find correct usbfs entry\n");
-		return 3;
+		return 0;
 	}
 	
 	fd = open(name, O_WRONLY|O_CREAT|O_TRUNC);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/setup-update-fstab.c?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list