diff --git a/check_cpu.py/okplugin_check_cpu b/check_cpu.py/okplugin_check_cpu index 5733324..04afe6e 100644 --- a/check_cpu.py/okplugin_check_cpu +++ b/check_cpu.py/okplugin_check_cpu @@ -89,7 +89,6 @@ def remove_stale_state(): state_mtime = os.stat("/var/lib/nagios-okplugin/check_cpu").st_mtime boot_time = os.stat("/proc/1").st_mtime if state_mtime < boot_time: - print "unlinking" os.unlink("/var/lib/nagios-okplugin/check_cpu") except OSError: return None