Mercurial > gftp.yaz
diff src/uicommon/gftpui.c @ 766:1ad4eb5c29de
2006-7-13 Brian Masney <masneyb@gftp.org>
* src/text/textui.c src/uicommon/gftpui.c - fixed a few minor warnings
from splint.
author | masneyb |
---|---|
date | Fri, 14 Jul 2006 00:37:27 +0000 |
parents | 8990a8a26ccf |
children | 2adc6b8b3197 |
line wrap: on
line diff
--- a/src/uicommon/gftpui.c Fri Jul 14 00:34:11 2006 +0000 +++ b/src/uicommon/gftpui.c Fri Jul 14 00:37:27 2006 +0000 @@ -136,7 +136,7 @@ if (gftpui_common_use_jmp_environment) siglongjmp (gftpui_common_jmp_environment, signo == SIGINT ? 1 : 2); else if (signo == SIGINT) - exit (1); + exit (EXIT_FAILURE); } @@ -173,7 +173,7 @@ share_dir = gftp_get_share_dir (); gftp_read_config_file (share_dir); if (gftp_parse_command_line (argc, argv) != 0) - exit (0); + exit (EXIT_FAILURE); gftpui_common_logfunc = logfunc; gftpui_common_child_process_done = -1;