]> git.pld-linux.org Git - projects/setup.git/commitdiff
- don't fail when there's no usbfs entry
authorsparky <sparky@pld-linux.org>
Thu, 22 Sep 2005 12:58:18 +0000 (12:58 +0000)
committersparky <sparky@pld-linux.org>
Thu, 22 Sep 2005 12:58:18 +0000 (12:58 +0000)
Changed files:
    update-fstab.c -> 1.3

update-fstab.c

index 9a85d2f3d5b57070cebaccf6a368225d268d8239..411c51effd35d1edbe3a7d00ad5ac26bce3a9142 100644 (file)
@@ -70,7 +70,7 @@ int main()
        }
        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);
This page took 0.247497 seconds and 4 git commands to generate.