aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-07-18 09:50:52 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-07-18 09:50:52 +0000
commitc49d8206f8954221d327af391c1cc1bfeaa0534c (patch)
treeb9f3c909fc1f55196107c4cde7f32baa3dcbd24f
parent4a3aba8603af49b650b05c80d8cfa0816484cd96 (diff)
downloadsos-c49d8206f8954221d327af391c1cc1bfeaa0534c.tar.gz
* removed 2>&1 which is default now
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@217 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r--src/lib/sos/plugins/filesys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/sos/plugins/filesys.py b/src/lib/sos/plugins/filesys.py
index 8dc98886..02bde2eb 100644
--- a/src/lib/sos/plugins/filesys.py
+++ b/src/lib/sos/plugins/filesys.py
@@ -39,9 +39,9 @@ class filesys(sos.plugintools.PluginBase):
disks = commands.getoutput("/bin/cat /proc/partitions | /bin/egrep -v \"^major|^$\" | /bin/awk '{print $4}' | /bin/grep -v / | /bin/egrep -v \"[0123456789]$\"")
for disk in raiddevs.split('\n'):
if '' != disk.strip():
- self.collectExtOutput("/sbin/fdisk -l /dev/%s 2>&1" % (disk,))
+ self.collectExtOutput("/sbin/fdisk -l /dev/%s" % (disk,))
for disk in disks.split('\n'):
if '' != disk.strip():
- self.collectExtOutput("/sbin/fdisk -l /dev/%s 2>&1" % (disk,))
+ self.collectExtOutput("/sbin/fdisk -l /dev/%s" % (disk,))
return