From ff7d7612bbb83f698df1760de874c54273ffb536 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Tue, 5 Dec 2017 09:19:44 +0100 Subject: [PATCH] Fix typo --- examples/ping-many.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ping-many.php b/examples/ping-many.php index b398311..f453839 100644 --- a/examples/ping-many.php +++ b/examples/ping-many.php @@ -26,7 +26,7 @@ Amp\Loop::run(function () { foreach ($hosts as $host) { $command = \DIRECTORY_SEPARATOR === "\\" ? "ping -n 5 {$host}" - : "ping -c 5 {$host}" + : "ping -c 5 {$host}"; $process = new Process($command); $process->start(); $promises[] = new Amp\Coroutine(show_process_output($process));