1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

core: close .upgrade files before deleting them after /upgrade

This commit is contained in:
Sébastien Helleu
2014-04-03 14:23:31 +02:00
parent 134713c6d1
commit 2a9bd75eee
5 changed files with 5 additions and 0 deletions
+1
View File
@@ -721,6 +721,7 @@ irc_upgrade_load ()
upgrade_file = weechat_upgrade_new (IRC_UPGRADE_FILENAME, 0);
rc = weechat_upgrade_read (upgrade_file, &irc_upgrade_read_cb, NULL);
weechat_upgrade_close (upgrade_file);
return rc;
}