From b489c6977206730ba0b57c07c009cc5a943deda4 Mon Sep 17 00:00:00 2001 From: brent s Date: Mon, 9 Oct 2017 14:46:47 -0400 Subject: [PATCH] one more --- storage/badblocks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/badblocks.py b/storage/badblocks.py index 03ff78b..ab334d9 100755 --- a/storage/badblocks.py +++ b/storage/badblocks.py @@ -44,11 +44,11 @@ def chkDisk(disk): if not diff >= timedelta: d += '_secondary' bb = ['badblocks', - '-o /var/log/badblocks/{0}.log'.format(d), + '-o', '/var/log/badblocks/{0}.log'.format(d), disk] smctl = ['smartctl', - '-t long', - '-d sat', + '-t', 'long', + '-d', 'sat', disk] for c in (bb, smctl): subprocess.run(c)