diff options
author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2023-05-21 22:57:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 22:57:31 (GMT) |
commit | 1bce93b28a889edcaed10a920c931a6232940ad8 (patch) | |
tree | 370a6155fb7390c27bc4fee2926eb9a95a132657 /plugins/runcmd.c | |
parent | bc47263115a3d6c01ec3ad8ec95951581551a9f5 (diff) | |
parent | 4ed55a1d40ac8693c7d5c9aa3a7301f0a2236135 (diff) | |
download | monitoring-plugins-1bce93b28a889edcaed10a920c931a6232940ad8.tar.gz |
Merge branch 'master' into check_swap_scanf_expressions
Diffstat (limited to 'plugins/runcmd.c')
-rw-r--r-- | plugins/runcmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/runcmd.c b/plugins/runcmd.c index 1bd2ca1..c1d675d 100644 --- a/plugins/runcmd.c +++ b/plugins/runcmd.c | |||
@@ -44,6 +44,8 @@ | |||
44 | # include <sys/wait.h> | 44 | # include <sys/wait.h> |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | #include "./utils.h" | ||
48 | |||
47 | /** macros **/ | 49 | /** macros **/ |
48 | #ifndef WEXITSTATUS | 50 | #ifndef WEXITSTATUS |
49 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 51 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |