diff mbox

[ovs-dev,1/2] rhel/etc_logrotate.d_openvswitch: Fix coding style

Message ID 94feebf1c7ff258bbbcf6e0c07485d5bf54905b2.1492076789.git.tredaelli@redhat.com
State Accepted
Headers show

Commit Message

Timothy Redaelli April 13, 2017, 9:48 a.m. UTC
Replace tabs by 4 spaces and indent the postrotate script like the
examples in 'man logrotate.conf'

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
---
 rhel/etc_logrotate.d_openvswitch | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Comments

Ben Pfaff April 13, 2017, 5:08 p.m. UTC | #1
On Thu, Apr 13, 2017 at 11:48:19AM +0200, Timothy Redaelli wrote:
> Replace tabs by 4 spaces and indent the postrotate script like the
> examples in 'man logrotate.conf'
> 
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>

Thanks!  I applied this to master.
diff mbox

Patch

diff --git a/rhel/etc_logrotate.d_openvswitch b/rhel/etc_logrotate.d_openvswitch
index 73751d4..914e67c 100644
--- a/rhel/etc_logrotate.d_openvswitch
+++ b/rhel/etc_logrotate.d_openvswitch
@@ -6,14 +6,14 @@ 
 # without warranty of any kind.
 
 /var/log/openvswitch/*.log {
-	daily
-	compress
-	sharedscripts
-	missingok
-	postrotate
-	# Tell Open vSwitch daemons to reopen their log files
+    daily
+    compress
+    sharedscripts
+    missingok
+    postrotate
+        # Tell Open vSwitch daemons to reopen their log files
         for pidfile in `cd /var/run/openvswitch && echo *.pid`; do
             ovs-appctl -t "${pidfile%%.pid}" vlog/reopen
         done
-	endscript
+    endscript
 }