diff --git a/programs/network/icmp/ping.asm b/programs/network/icmp/ping.asm index d75bc98e5..ca79a46e2 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 @@: