summaryrefslogtreecommitdiff
path: root/plugins/shellexec
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-04-29 13:21:50 +0200
committerGravatar waker <wakeroid@gmail.com>2012-04-29 13:21:50 +0200
commit298f66721bf96aeed42b7712519a95776496d4d6 (patch)
tree58cdd04db1aef9a921c5baa977ca9ec8a0c2e32a /plugins/shellexec
parent4cbdce797ae800d61993d2117ea0674b87d3508b (diff)
shellexec: fixed hang when adding new command
Diffstat (limited to 'plugins/shellexec')
-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;
}
}
}