summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd-parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-parse.y b/cmd-parse.y
index a08c5819..f79c7fd3 100644
--- a/cmd-parse.y
+++ b/cmd-parse.y
@@ -817,6 +817,7 @@ cmd_parse_build_command(struct cmd_parse_command *cmd,
goto out;
values[count].type = ARGS_COMMANDS;
values[count].cmdlist = pr->cmdlist;
+ values[count].cmdlist->references++;
break;
}
count++;