[~] Refactor

This commit is contained in:
Siarhei Siniak 2024-03-20 23:33:06 +03:00
parent af9345a403
commit 445a9b46c3

@ -1466,7 +1466,8 @@ def pm_service(argv):
cmd = None
if 'powerd' in line:
cmd = line
print(cmd)
if options.verbose:
logging.error(json.dumps(dict(line=cmd)))
#cmd = subprocess.check_output(r'''
# log stream | grep --line-buffered -i \