Accept <command> in addition to <execute> for the restart action.
This commit is contained in:
parent
648e2b626f
commit
7c7bfd770d
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
|
|||
|
||||
o = g_new0(Options, 1);
|
||||
|
||||
if ((n = parse_find_node("execute", node))) {
|
||||
if ((n = parse_find_node("command", node)) ||
|
||||
(n = parse_find_node("execute", node)))
|
||||
{
|
||||
gchar *s = parse_string(doc, n);
|
||||
o->cmd = parse_expand_tilde(s);
|
||||
g_free(s);
|
||||
|
|
Loading…
Reference in a new issue