summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/rockbox_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c
index 829cc5a346..bc7a2c81ab 100644
--- a/apps/plugins/rockbox_flash.c
+++ b/apps/plugins/rockbox_flash.c
@@ -576,7 +576,7 @@ void DoUserDialog(void)
button = rb->button_get(true);
button = rb->button_get(true);
- if (button != BUTTON_F2)
+ if (rc != eOK || button != BUTTON_F2)
{
return;
}