mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Don't warn that we're waiting for the command to complete if
we've put it in the background (!bg).
This commit is contained in:
parent
bfc6401f6f
commit
adbec73e00
1 changed files with 2 additions and 3 deletions
|
|
@ -17,7 +17,7 @@
|
|||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: command.c,v 1.97 1997/11/09 23:40:21 brian Exp $
|
||||
* $Id: command.c,v 1.98 1997/11/11 22:58:10 brian Exp $
|
||||
*
|
||||
*/
|
||||
#include <sys/param.h>
|
||||
|
|
@ -290,8 +290,7 @@ ShellCommand(struct cmdtab const * cmdlist, int argc, char **argv, int bg)
|
|||
LogPrintf(LogERROR, "%d: daemon: %s\n", p, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
if (VarTerm)
|
||||
} else if (VarTerm)
|
||||
fprintf(VarTerm, "ppp: Pausing until %s finishes\n", argv[0]);
|
||||
(void) execvp(argv[0], argv);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue