From 2ee2d270fcfef59591e8e9b23e3e5155473d9247 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 6 Oct 2009 16:16:13 +0200 Subject: [PATCH] ctdb_diagnostics: don't use hardcoded path to iptables All event scripts use only the relative path, so we should here. Also PATH includes /sbin and /usr/sbin... metze --- tools/ctdb_diagnostics | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ctdb_diagnostics b/tools/ctdb_diagnostics index 7b48299..2cdf3cc 100755 --- a/tools/ctdb_diagnostics +++ b/tools/ctdb_diagnostics @@ -167,8 +167,8 @@ show_all "netstat -s" show_all "free" show_all "crontab -l" show_all "sysctl -a" -show_all "/sbin/iptables -L -n" -show_all "/sbin/iptables -L -n -t nat" +show_all "iptables -L -n" +show_all "iptables -L -n -t nat" show_all "/usr/sbin/rpcinfo -p" show_all "/usr/sbin/showmount -a" show_all "/usr/sbin/showmount -e" -- 1.6.0.4