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 ++- debian/changelog | 10 ++++++++++ sitesummary-client | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) 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 diff --git a/debian/changelog b/debian/changelog index 8e397a7..24d7d43 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +sitesummary (0.0.12) unstable; urgency=low + + * 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. + + -- Petter Reinholdtsen Wed, 4 Oct 2006 09:43:02 +0200 + sitesummary (0.0.11) unstable; urgency=low * Fix minor typo in debian_edu-summary. diff --git a/sitesummary-client b/sitesummary-client index e799bd8..9e53e1f 100644 --- a/sitesummary-client +++ b/sitesummary-client @@ -58,7 +58,7 @@ mkdir $tmpdir && cd $tmpdir for fragdir in $fragdirs ; do [ -d $fragdir ] || continue for frag in $fragdir/*; do - [ -x $frag ] && $frag + [ -x $frag ] && $frag || true done done -- cgit v1.2.3