diff options
-rw-r--r-- | scd/app.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1706,10 +1706,12 @@ app_do_with_keygrip (ctrl_t ctrl, int action, const char *keygrip_str) err = a->fnc.with_keygrip (a, ctrl, action, keygrip_str); unlock_card (c); if (!err) - break; + goto leave_the_loop; } } + leave_the_loop: + /* FIXME: Add app switching logic. The above code assumes that the * actions can be performend without switching. This needs to be * checked. */ |