diff options
Diffstat (limited to 'source/a/logrotate/logrotate.cron')
-rw-r--r-- | source/a/logrotate/logrotate.cron | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/a/logrotate/logrotate.cron b/source/a/logrotate/logrotate.cron index f91b3add..acdf65c2 100644 --- a/source/a/logrotate/logrotate.cron +++ b/source/a/logrotate/logrotate.cron @@ -1,3 +1,3 @@ #!/bin/sh -/usr/sbin/logrotate /etc/logrotate.conf -[ $? != 0 ] && /usr/bin/logger -t logrotate "ALERT - exited abnormally." +/usr/sbin/logrotate /etc/logrotate.conf \ + || { /usr/bin/logger -t logrotate "ALERT - exited abnormally." && false ; } |