summaryrefslogtreecommitdiffstats
path: root/plugins/runcmd.c
diff options
context:
space:
mode:
authorwaja <waja@users.noreply.github.com>2023-06-28 14:38:43 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:38:43 (GMT)
commit4f4dd3a7a342f79dbd40e5636a5808f80ef6ed7b (patch)
tree9548b86fb65286fc3dd457b85dc296c5cfc5d019 /plugins/runcmd.c
parent6d341c40ab4d84d5eabfd672de1ffa3c7ecd07be (diff)
parentb24eb7f46ac8667324efd818c01d68d5a1376c89 (diff)
downloadmonitoring-plugins-4f4dd3a7a342f79dbd40e5636a5808f80ef6ed7b.tar.gz
Merge branch 'master' into compiler_warning_part_5
Diffstat (limited to 'plugins/runcmd.c')
-rw-r--r--plugins/runcmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/runcmd.c b/plugins/runcmd.c
index ff1987f..102191e 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)