2008-09-06 00:08:20 +02:00
|
|
|
--- ./logrotate.c.orig 2008-09-03 10:32:34.000000000 +0200
|
|
|
|
+++ ./logrotate.c 2008-09-03 10:32:55.000000000 +0200
|
|
|
|
@@ -930,7 +930,7 @@ int prerotateSingleLog(struct logInfo *l
|
|
|
|
rotNames->dirName, rotNames->baseName, dext_str, fileext);
|
2008-02-01 00:45:45 +01:00
|
|
|
sprintf(destFile, "%s%s", rotNames->finalName, compext);
|
|
|
|
if (!stat(destFile, &fst_buf)) {
|
|
|
|
- message(MESS_DEBUG,
|
|
|
|
+ message(MESS_ERROR,
|
|
|
|
"destination %s already exists, skipping rotation\n",
|
|
|
|
rotNames->firstRotated);
|
|
|
|
hasErrors = 1;
|