diff --git a/programs/network/icmp/ping.asm b/programs/network/icmp/ping.asm index d75bc98e57..ca79a46e22 100644 --- a/programs/network/icmp/ping.asm +++ b/programs/network/icmp/ping.asm @@ -73,9 +73,9 @@ main: call [con_gets] ; check for exit test eax, eax - jz done + jz exit cmp byte [esi], 10 - jz done + jz exit ; delete terminating '\n' push esi @@: