chiark / gitweb /
[PATCH] udevd - remove stupid locking error I wrote.
authorgreg@kroah.com <greg@kroah.com>
Thu, 29 Jan 2004 02:52:45 +0000 (18:52 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:20 +0000 (21:13 -0700)
udevd.c

diff --git a/udevd.c b/udevd.c
index a80da5b..22c3865 100644 (file)
--- a/udevd.c
+++ b/udevd.c
@@ -318,7 +318,6 @@ static int one_and_only(void)
        /* see if we can lock */
        if (lockf(lock_file, F_TLOCK, 0) < 0) {
                close(lock_file);
-               unlink(lock_filename);
                return -1;
        }