summaryrefslogtreecommitdiff
blob: bf7b5e5d4a3cfc9cf957d54633778dbf5a26ff45 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- /tmp/cronoutils.c	2003-10-13 12:44:59.000000000 +0000
+++ src/cronoutils.c	2003-10-13 12:45:08.000000000 +0000
@@ -199,7 +199,7 @@
     {
 	unlink(prevlinkname);
     }
-    if (stat(linkname, &stat_buf) == 0)
+    if (lstat(linkname, &stat_buf) == 0)
     {
 	if (prevlinkname) {
 	    rename(linkname, prevlinkname);