diff --git a/bauh/commons/system.py b/bauh/commons/system.py index 996d4d98..c18dd383 100644 --- a/bauh/commons/system.py +++ b/bauh/commons/system.py @@ -195,6 +195,9 @@ class ProcessHandler: except UnicodeDecodeError: continue + if line.startswith('[sudo] password'): + continue + output.write(line) line = line.strip()