diff options
author | Ronny Aasen <ronny@aasen.cx> | 2010-11-22 13:02:18 +0000 |
---|---|---|
committer | Ronny Aasen <ronny@aasen.cx> | 2010-11-22 13:02:18 +0000 |
commit | 45d8bd71b561ed4e92fdecb6035d6e5ce4c65933 (patch) | |
tree | 08f3c1a7cbff9ab5af78d37326586864477ae9af | |
parent | 98c12dfaac41ed7ca5a0454d3d2c110189a22c55 (diff) | |
download | sitesummary-45d8bd71b561ed4e92fdecb6035d6e5ce4c65933.tar.gz sitesummary-45d8bd71b561ed4e92fdecb6035d6e5ce4c65933.tar.bz2 sitesummary-45d8bd71b561ed4e92fdecb6035d6e5ce4c65933.tar.xz |
* fixing my fix
-rw-r--r-- | collect.d/system | 2 | ||||
-rw-r--r-- | debian/changelog | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/collect.d/system b/collect.d/system index 0401203..c5be33d 100644 --- a/collect.d/system +++ b/collect.d/system @@ -22,7 +22,7 @@ if type lsusb >/dev/null 2>&1; then lsusb > lsusb fi -if [ -d /proc/bus/scsi ] && type lsscsi >/dev/null 2>&1; then +if [ -d /sys/bus/scsi ] && type lsscsi >/dev/null 2>&1; then lsscsi > lsscsi fi diff --git a/debian/changelog b/debian/changelog index ac49277..994a170 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +sitesummary (0.0.68~svn) UNRELEASED; urgency=low + + [ Ronny Aasen ] + * Only run lsscsi from collect.d/system, if /sys/bus/scsi exsists + to avoid errors on machines without /sys mouted, like chroots + and vservers (Closes: #602286). + + -- Petter Reinholdtsen <pere@debian.org> Fri, 19 Nov 2010 15:02:20 +0100 + sitesummary (0.0.67) unstable; urgency=low [ Ronny Aasen ] |