diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-10-04 07:45:32 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-10-04 07:45:32 +0000 |
commit | c72d2bb34c045394f19befa3073f3eba71f5b4e5 (patch) | |
tree | 955cb400b381c5e996a824940d5c37a784b8b9cf | |
parent | fbe8b69d3f2687c571aac09540690a0c4b2d4876 (diff) | |
download | sitesummary-c72d2bb34c045394f19befa3073f3eba71f5b4e5.tar.gz sitesummary-c72d2bb34c045394f19befa3073f3eba71f5b4e5.tar.bz2 sitesummary-c72d2bb34c045394f19befa3073f3eba71f5b4e5.tar.xz |
* 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.
-rw-r--r-- | collect.d/system | 3 | ||||
-rw-r--r-- | debian/changelog | 10 | ||||
-rw-r--r-- | 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 <pere@debian.org> 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 |