diff options
-rw-r--r-- | tools/mountstats/mountstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py index c8cb718..51b4c76 100644 --- a/tools/mountstats/mountstats.py +++ b/tools/mountstats/mountstats.py @@ -594,7 +594,7 @@ def print_iostat_summary(old, new, devices, time): for device in devices: stats = DeviceData() stats.parse_stats(new[device]) - if not old: + if not old or device not in old: stats.display_iostats(time) else: old_stats = DeviceData() |