diff options
| author | Gary Palmer <gpalmer@FreeBSD.org> | 1995-05-18 23:36:21 +0000 |
|---|---|---|
| committer | Gary Palmer <gpalmer@FreeBSD.org> | 1995-05-18 23:36:21 +0000 |
| commit | aff014ff20159287f76d084e46252953703b1de4 (patch) | |
| tree | dfb72fe84b1fd5f6141bc5b988a09192fb7d2e2b /release/sysinstall/command.c | |
| parent | 4977228d33a600abf55a78d35104c1e0081ea103 (diff) | |
Notes
Diffstat (limited to 'release/sysinstall/command.c')
| -rw-r--r-- | release/sysinstall/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/command.c b/release/sysinstall/command.c index ff29b4e68b57..08a58a1f3a2c 100644 --- a/release/sysinstall/command.c +++ b/release/sysinstall/command.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: command.c,v 1.5 1995/05/18 02:42:31 jkh Exp $ + * $Id: command.c,v 1.6 1995/05/18 09:01:44 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -107,7 +107,7 @@ command_shell_add(char *key, char *fmt, ...) commandStack[numCommands]->ncmds = 1; commandStack[numCommands]->cmds[0].type = CMD_SHELL; commandStack[numCommands]->cmds[0].ptr = (void *)cmd; - commandStack[numCommands]->cmds[0].data = NULL; + commandStack[numCommands++]->cmds[0].data = NULL; } /* Add a shell command under a given key */ |
