summaryrefslogtreecommitdiffstats
path: root/plugins/runcmd.c
diff options
context:
space:
mode:
authorwaja <waja@users.noreply.github.com>2023-06-28 14:38:22 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:38:22 (GMT)
commit9ef6660cab8eb2b017323b9e000cb3560f07886b (patch)
treee88c70524d4289bbe175f3601e20704690f29f28 /plugins/runcmd.c
parentb4e578e2cd835221ee343e56923588828d36f99b (diff)
parentb24eb7f46ac8667324efd818c01d68d5a1376c89 (diff)
downloadmonitoring-plugins-9ef6660cab8eb2b017323b9e000cb3560f07886b.tar.gz
Merge branch 'master' into compiler_warning_part_6
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 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)