diff options
author | Bill Nottingham <notting@redhat.com> | 1999-03-18 00:53:57 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-03-18 00:53:57 +0000 |
commit | 6aac6bb6c8ceea467a12dc5a6810d73cf516a445 (patch) | |
tree | 32723287fadf74cc93ebe809470296b6837892b9 /src/process.c | |
parent | 5fd45fcb73f4585781bbdb79112ff0812c2c2c5f (diff) | |
download | initscripts-6aac6bb6c8ceea467a12dc5a6810d73cf516a445.tar initscripts-6aac6bb6c8ceea467a12dc5a6810d73cf516a445.tar.gz initscripts-6aac6bb6c8ceea467a12dc5a6810d73cf516a445.tar.bz2 initscripts-6aac6bb6c8ceea467a12dc5a6810d73cf516a445.tar.xz initscripts-6aac6bb6c8ceea467a12dc5a6810d73cf516a445.zip |
gack. don't exit on command format errors from subprocess
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index c4b24473..548c1b67 100644 --- a/src/process.c +++ b/src/process.c @@ -144,7 +144,7 @@ int monitor(char *cmdname, int pid, int numfds, int *fds, int reexec, int quiet) if (!reexec) { if (getenv("IN_INITLOG")) { char *buffer=calloc(2048,sizeof(char)); - snprintf(buffer,2048,"-n %s -s \"%s\"", + snprintf(buffer,2048,"-n %s -s \"%s\"\n", cmdname,tmpstr); write(CMD_FD,buffer,strlen(buffer)); free(buffer); |