Skip to content

Commit 538624c

Browse files
committed
Fix notice
1 parent 418b3ae commit 538624c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Worker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,11 +806,11 @@ protected static function displayUI()
806806
foreach ($argv as $index => $value) {
807807
if ($value == '-d') {
808808
unset($argv[$index]);
809-
} elseif ($value == 'start') {
809+
} elseif ($value == 'start' || $value == 'restart') {
810810
$argv[$index] = 'stop';
811811
}
812812
}
813-
static::safeEcho("Input \"php ".implode($argv, ' ')."\" to stop. Start success.\n\n");
813+
static::safeEcho("Input \"php ".implode(' ', $argv)."\" to stop. Start success.\n\n");
814814
} else {
815815
static::safeEcho("Press Ctrl+C to stop. Start success.\n");
816816
}

0 commit comments

Comments
 (0)