File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ find_files() {
256
256
# None
257
257
# ##############################################################################
258
258
disable_logrotate () {
259
- sed -i ' /logrotate/s/^/#/g' /etc/cron.d/logrotate
259
+ sed -i ' /\/usr\/sbin\/ logrotate/s/^/#/g' /etc/cron.d/logrotate
260
260
}
261
261
262
262
# ##############################################################################
@@ -269,7 +269,7 @@ disable_logrotate() {
269
269
# None
270
270
# ##############################################################################
271
271
enable_logrotate () {
272
- sed -i ' /logrotate/s/^#*//g' /etc/cron.d/logrotate
272
+ sed -i ' /\/usr\/sbin\/ logrotate/s/^#*//g' /etc/cron.d/logrotate
273
273
}
274
274
275
275
# ##############################################################################
You can’t perform that action at this time.
0 commit comments