Blame SOURCES/nfs-utils-1.3.0-nfs-iostat-no-dev.patch

5fd2c0
diff -up nfs-utils-1.3.0/tools/nfs-iostat/nfs-iostat.py.orig nfs-utils-1.3.0/tools/nfs-iostat/nfs-iostat.py
5fd2c0
--- nfs-utils-1.3.0/tools/nfs-iostat/nfs-iostat.py.orig	2017-11-03 09:29:39.000000000 -0400
5fd2c0
+++ nfs-utils-1.3.0/tools/nfs-iostat/nfs-iostat.py	2017-11-03 09:34:25.000000000 -0400
5fd2c0
@@ -434,6 +434,8 @@ def parse_stats_file(filename):
5fd2c0
         words = line.split()
5fd2c0
         if len(words) == 0:
5fd2c0
             continue
5fd2c0
+	if line.startswith("no device mounted") :
5fd2c0
+            continue
5fd2c0
         if words[0] == 'device':
5fd2c0
             key = words[4]
5fd2c0
             new = [ line.strip() ]