1
0
forked from rpms/sos
sos/sos-bz683404-fix-autofs-LC_ALL-usage.patch

13 lines
735 B
Diff
Raw Normal View History

diff -up sos-2.2/sos/plugins/autofs.py.orig sos-2.2/sos/plugins/autofs.py
--- sos-2.2/sos/plugins/autofs.py.orig 2011-08-12 21:54:09.405697055 +0100
+++ sos-2.2/sos/plugins/autofs.py 2011-08-12 21:54:21.403820531 +0100
@@ -54,7 +54,7 @@ class autofs(sos.plugintools.PluginBase)
self.collectExtOutput("ps auxwww | grep automount")
self.collectExtOutput("/bin/egrep -e 'automount|pid.*nfs' /proc/mounts")
self.collectExtOutput("/bin/mount | egrep -e 'automount|pid.*nfs'")
- self.collectExtOutput("LC_ALL=C /sbin/chkconfig --list autofs")
+ self.collectExtOutput("/sbin/chkconfig --list autofs")
if self.checkdebug():
self.addCopySpec(self.getdaemondebug())
return