diff --git a/src/Console/PurgeCommand.php b/src/Console/PurgeCommand.php index dd791a4b..d97ee144 100644 --- a/src/Console/PurgeCommand.php +++ b/src/Console/PurgeCommand.php @@ -96,7 +96,7 @@ public function purge($master, $signal = SIGTERM) $master, $this->supervisors->longestActiveTimeout() ); - collect($expired)->each(function ($processId) use ($master) { + collect($expired)->each(function ($processId) use ($master, $signal) { $this->comment("Killing Process: {$processId}"); exec("kill -s {$signal} {$processId}");