]> err.no Git - systemd/commitdiff
[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 a80da5b0d4e2b2f22bc2c65cfd4b246725b788d8..22c38653e7712b68c30822952ccc857d38bb5164 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;
        }