aboutsummaryrefslogtreecommitdiffstats
path: root/config/servicewatchdog/servicewatchdog_cron.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-08-06 12:26:58 +0545
committerPhil Davis <phil.davis@inf.org>2015-08-06 12:26:58 +0545
commitea127e3d7700d3253eb35cf90750c2bf658ed122 (patch)
tree51c4cefa90ddb0576ca7ac5c4ae3fabe798e4346 /config/servicewatchdog/servicewatchdog_cron.php
parentbad0f316bf513e8a7b61646ceb2e1ddb3bf2b03d (diff)
downloadpfsense-packages-ea127e3d7700d3253eb35cf90750c2bf658ed122.tar.gz
pfsense-packages-ea127e3d7700d3253eb35cf90750c2bf658ed122.tar.bz2
pfsense-packages-ea127e3d7700d3253eb35cf90750c2bf658ed122.zip
Service Watchdog package code style
Diffstat (limited to 'config/servicewatchdog/servicewatchdog_cron.php')
-rw-r--r--config/servicewatchdog/servicewatchdog_cron.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/servicewatchdog/servicewatchdog_cron.php b/config/servicewatchdog/servicewatchdog_cron.php
index 004afd97..9979917e 100644
--- a/config/servicewatchdog/servicewatchdog_cron.php
+++ b/config/servicewatchdog/servicewatchdog_cron.php
@@ -6,8 +6,9 @@ require_once("servicewatchdog.inc");
global $g;
/* Do nothing at bootup. */
-if ($g['booting'] || file_exists("{$g['varrun_path']}/booting"))
+if ($g['booting'] || file_exists("{$g['varrun_path']}/booting")) {
return;
+}
servicewatchdog_check_services();
?> \ No newline at end of file