summaryrefslogtreecommitdiff
path: root/community/nginx/logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'community/nginx/logrotate')
-rw-r--r--community/nginx/logrotate2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/nginx/logrotate b/community/nginx/logrotate
index 3d082bcf8..e0fa9ec4c 100644
--- a/community/nginx/logrotate
+++ b/community/nginx/logrotate
@@ -4,6 +4,6 @@
sharedscripts
compress
postrotate
- test -r /var/run/nginx.pid && kill -USR1 `cat /var/run/nginx.pid`
+ test ! -r /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid`
endscript
}