1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

core: do not exit if read of sec.conf/weechat.conf fails

This commit is contained in:
Sebastien Helleu
2013-11-09 09:59:37 +01:00
parent a5785a1ddc
commit 46c26922aa
+2 -4
View File
@@ -452,10 +452,8 @@ main (int argc, char *argv[])
weechat_parse_args (argc, argv); /* parse command line args */
weechat_create_home_dir (); /* create WeeChat home directory */
log_init (); /* init log file */
if (secure_read () < 0) /* read secured data options */
weechat_shutdown (EXIT_FAILURE, 0);
if (config_weechat_read () < 0) /* read WeeChat options */
weechat_shutdown (EXIT_FAILURE, 0);
secure_read (); /* read secured data options */
config_weechat_read (); /* read WeeChat options */
network_init_gnutls (); /* init GnuTLS */
gui_main_init (); /* init WeeChat interface */
if (weechat_upgrading)