correct secondary /var/log cleaning procedure
authorLaurent Mazet <laurent.mazet@thalesgroup.com>
Tue, 25 Oct 2016 21:55:25 +0000 (23:55 +0200)
committerLaurent Mazet <laurent.mazet@thalesgroup.com>
Tue, 25 Oct 2016 21:55:25 +0000 (23:55 +0200)
master/etc/rc.local

index 9dcf833fc97683f596620f61b27c5779056ea343..0cc5c0e569bfc9888d2abc94f1959fccbdac4e9a 100644 (file)
@@ -12,6 +12,6 @@
 # By default this script does nothing.
 
 # clean /var/log
-/usr/sbin/logrotate /etc/logrotate.conf --force || { find /var/log/ -type f -exec rm {} \;; reboot; }
+/usr/sbin/logrotate /etc/logrotate.conf --force || { find /var/log/ -type f -exec rm {} \;; reboot; }
 
 exit 0