Skip to content

Commit fe86674

Browse files
brlironDoremyR3d
authored andcommitted
self update: always show the "update succeeded" popup when the update succeeds.
1 parent 9a23cb6 commit fe86674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thcrap_update/src/notify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ int update_notify_thcrap(void)
163163

164164
// Write message
165165
// Default is false, and the value is going to be written later anyway. Doing it now would result in a useless IO write
166-
if (globalconfig_get_boolean("skip_check_mbox", false)) {
166+
if (ret != SELF_OK && globalconfig_get_boolean("skip_check_mbox", false)) {
167167
log_print("---------------------------\n");
168168
log_printf("%s\n", self_msg);
169169
log_print("---------------------------\n");

0 commit comments

Comments
 (0)