diff options
author | Lorenz Kästle <lorenz.kaestle@netways.de> | 2023-04-28 09:00:05 (GMT) |
---|---|---|
committer | Lorenz Kästle <lorenz.kaestle@netways.de> | 2023-04-28 09:00:05 (GMT) |
commit | 34c4d13edd8ece1e928c578974218c10d25600c4 (patch) | |
tree | 96eaf64dc46c8b785d437250d42471180597a699 /config_test | |
parent | e4ddeb7bb722b50613108da1cb51a48e84068701 (diff) | |
parent | 7cb82e6486e662fa4d2530523787d3eced266545 (diff) | |
download | monitoring-plugins-34c4d13edd8ece1e928c578974218c10d25600c4.tar.gz |
Merge branch 'master' into RincewindsHat-patch-1
Diffstat (limited to 'config_test')
-rw-r--r-- | config_test/child_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config_test/child_test.c b/config_test/child_test.c index 4bf8504..2add3bc 100644 --- a/config_test/child_test.c +++ b/config_test/child_test.c | |||
@@ -30,7 +30,7 @@ int main(){ | |||
30 | /* pipefd[1] is for writing to the pipe. We want the output | 30 | /* pipefd[1] is for writing to the pipe. We want the output |
31 | * that used to go to the standard output (file descriptor 1) | 31 | * that used to go to the standard output (file descriptor 1) |
32 | * to be written to the pipe. The following command does this, | 32 | * to be written to the pipe. The following command does this, |
33 | * creating a new file descripter 1 (the lowest available) | 33 | * creating a new file descriptor 1 (the lowest available) |
34 | * that writes where pipefd[1] goes. */ | 34 | * that writes where pipefd[1] goes. */ |
35 | dup (pipefd[1]); /* points pipefd at file descriptor */ | 35 | dup (pipefd[1]); /* points pipefd at file descriptor */ |
36 | /* the child isn't going to read from the pipe, so | 36 | /* the child isn't going to read from the pipe, so |