diff options
author | waker <wakeroid@gmail.com> | 2012-04-29 13:21:50 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-04-29 13:21:50 +0200 |
commit | 298f66721bf96aeed42b7712519a95776496d4d6 (patch) | |
tree | 58cdd04db1aef9a921c5baa977ca9ec8a0c2e32a | |
parent | 4cbdce797ae800d61993d2117ea0674b87d3508b (diff) |
shellexec: fixed hang when adding new command
-rw-r--r-- | plugins/shellexec/shellexec.c | 1 |
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; } } } |