mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
DOM: Change sgml-parser program to have sane exit code for incomplete input
This commit is contained in:
parent
c7843058fc
commit
6cd5e387e5
@ -433,5 +433,5 @@ main(int argc, char *argv[])
|
||||
check_memory_leaks();
|
||||
#endif
|
||||
|
||||
return code;
|
||||
return code != DOM_CODE_OK ? 1 : 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user