From b53aa527be186dbf24842cb0453603bbfb9f1108 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 20 Jun 2005 03:49:29 +0000 Subject: [PATCH] Reset loop counter for multiple commands, found by QA. Merge of master-melb:xfs-cmds:22910a by kenmcd. --- libxcmd/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libxcmd/command.c b/libxcmd/command.c index ce1c10609..cda21eb67 100644 --- a/libxcmd/command.c +++ b/libxcmd/command.c @@ -181,6 +181,7 @@ command_loop(void) free(v); free(input); } + j = 0; /* reset */ } if (cmdline) { free(cmdline); -- 2.47.2