summaryrefslogtreecommitdiffstats
path: root/plugins-root
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_icmp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 2ad644e..a7fad36 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -417,9 +417,6 @@ main(int argc, char **argv)
417 bindtextdomain (PACKAGE, LOCALEDIR); 417 bindtextdomain (PACKAGE, LOCALEDIR);
418 textdomain (PACKAGE); 418 textdomain (PACKAGE);
419 419
420 /* print a helpful error message if geteuid != 0 */
421 np_warn_if_not_root();
422
423 /* we only need to be setsuid when we get the sockets, so do 420 /* we only need to be setsuid when we get the sockets, so do
424 * that before pointer magic (esp. on network data) */ 421 * that before pointer magic (esp. on network data) */
425 icmp_sockerrno = udp_sockerrno = tcp_sockerrno = sockets = 0; 422 icmp_sockerrno = udp_sockerrno = tcp_sockerrno = sockets = 0;