From c72d2bb34c045394f19befa3073f3eba71f5b4e5 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Wed, 4 Oct 2006 07:45:32 +0000 Subject: * Modify the system info collector script to ignore non-true exit codes from the programs. This make sure it work on systems without usb support, among other things. * Modify client script to ignore non-true exit codes from the collector fragments. --- collect.d/system | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'collect.d/system') diff --git a/collect.d/system b/collect.d/system index be922af..89b44bc 100644 --- a/collect.d/system +++ b/collect.d/system @@ -2,7 +2,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin -set -e +# Keep going even if one of the programs report an error code +# set -e mkdir system && cd system -- cgit v1.2.3