Logmark fix

This commit is contained in:
Michiel Broek 2007-02-11 13:54:09 +00:00
parent 5135e4c135
commit 9adbb84b63

View File

@ -545,7 +545,7 @@ void CheckArea(int Area)
}
if (lstat(fn, &stb) == 0) {
if (unlink(fn) == 0) {
Syslog('-', "%s dead link removed from disk", fn);
Syslog('!', "%s dead link removed from disk", fn);
iErrors++;
} else {
WriteError("$%s link not in fdb, cannot delete", fn);