]> granicus.if.org Git - cronie/commitdiff
Symlinks were not followed. This is a limitation of inotify API.
authorMarcela Mašláňová <mmaslano@redhat.com>
Fri, 25 Sep 2009 06:32:34 +0000 (08:32 +0200)
committerMarcela Mašláňová <mmaslano@redhat.com>
Fri, 25 Sep 2009 06:32:34 +0000 (08:32 +0200)
rhbz#477100

src/database.c

index a517d071f41e7a4b13d0c0fb393cdcc89a221949..54a6b9a0700175a02a805fc19e658b411ae8c317 100644 (file)
@@ -51,7 +51,7 @@ check_open(const char *tabname, const char *fname, const char *uname,
        pid_t pid = getpid();
 
        if ((crontab_fd =
-                       open(tabname, O_RDONLY | O_NONBLOCK | O_NOFOLLOW, 0)) == -1) {
+                       open(tabname, O_RDONLY | O_NONBLOCK, 0)) == -1) {
                log_it(uname, pid, "CAN'T OPEN", tabname, errno);
                return (-1);
        }