forked from KolibriOS/kolibrios
bugfix: exit when user enters empty hostname.
git-svn-id: svn://kolibrios.org@4024 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
aa4751693f
commit
45f1ce4315
@ -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
|
||||
@@:
|
||||
|
Loading…
Reference in New Issue
Block a user