Mark Hymers pushed to branch master at Debian FTP Team / dak
Commits:
-
d647eeb5
by Mark Hymers at 2023-07-23T13:12:04+01:00
1 changed file:
Changes:
... | ... | @@ -288,7 +288,7 @@ function laststeps() { |
288 | 288 | exec > "$logdir/after${PROGRAM}.log" 2>&1
|
289 | 289 | |
290 | 290 | # Rotate out old logfiles
|
291 | - find ${logdir}/${PROGRAM}_*.log.bz2 -mtime +${logkeep} -delete
|
|
291 | + find ${logdir} -name "${PROGRAM}_*.log.bz2" -mtime +${logkeep} -delete
|
|
292 | 292 | |
293 | 293 | # Now, at the very (successful) end of this run, make sure we remove
|
294 | 294 | # our stage files, so the next script run will do it all again.
|