summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/shellexec/shellexec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c
index df164dee..de0659dc 100644
--- a/plugins/shellexec/shellexec.c
+++ b/plugins/shellexec/shellexec.c
@@ -265,6 +265,7 @@ shx_action_add (void) {
for (Shx_action_t *last = actions; last; last = (Shx_action_t *)last->parent.next) {
if (!last->parent.next) {
last->parent.next = (DB_plugin_action_t *)a;
+ break;
}
}
}