we want to narrow down the stdout vs stderr
This commit is contained in:
parent
b489c69772
commit
eb6999169e
@ -50,8 +50,9 @@ def chkDisk(disk):
|
||||
'-t', 'long',
|
||||
'-d', 'sat',
|
||||
disk]
|
||||
for c in (bb, smctl):
|
||||
subprocess.run(c)
|
||||
with open(os.devnull, 'w') as DEVNULL:
|
||||
for c in (bb, smctl):
|
||||
subprocess.run(c, stdout = DEVNULL)
|
||||
return()
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user