diff options
Diffstat (limited to 'debian/sitesummary.cron.daily')
-rwxr-xr-x | debian/sitesummary.cron.daily | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/sitesummary.cron.daily b/debian/sitesummary.cron.daily index a6d54f1..e408a7a 100755 --- a/debian/sitesummary.cron.daily +++ b/debian/sitesummary.cron.daily @@ -83,7 +83,7 @@ generate_nagios_config() { true ) > $NAGIOSDIR/nagios-generated.cfg.new && \ chmod a+r $NAGIOSDIR/nagios-generated.cfg.new - if cmp $NAGIOSDIR/nagios-generated.cfg.new $NAGIOSDIR/nagios-generated.cfg + if cmp -s $NAGIOSDIR/nagios-generated.cfg.new $NAGIOSDIR/nagios-generated.cfg then rm $NAGIOSDIR/nagios-generated.cfg.new false |