Skip to content

Commit

Permalink
Fix missing variable use in anonymous function (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaruesweg authored Feb 7, 2023
1 parent 75f39c7 commit a990617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/PurgeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
Expand Down

0 comments on commit a990617

Please sign in to comment.