Skip to content

Commit

Permalink
fix: terrible error resets watchdog every time!
Browse files Browse the repository at this point in the history
  • Loading branch information
blacknell committed Oct 6, 2021
1 parent 6727a3f commit bd4e104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Watchdog.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function watch(string $watchScript, string $watchScriptGrep, string $watc
}
}

if ($watchdogDead || $watchFilesHaveChanged || count($processes == 0)) {
if ($watchdogDead || $watchFilesHaveChanged || count($processes) == 0) {

// first find processes and ask them nicely
foreach ($processes as $process) {
Expand Down

0 comments on commit bd4e104

Please sign in to comment.