From 0390bc18b498128364b05329c6d84b6c5b505773 Mon Sep 17 00:00:00 2001 From: erg_samowzbudnik Date: Sat, 12 Jun 2021 10:20:50 +0200 Subject: fix typo --- monitor_unified.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor_unified.py b/monitor_unified.py index 5279022..e1400dc 100644 --- a/monitor_unified.py +++ b/monitor_unified.py @@ -513,7 +513,7 @@ def main(): if os.fork():sys.exit(0) start() elif action=='stop': - with open('/var/run/user/1000/RPGH_starter.pid', r') as pid_file: + with open('/var/run/user/1000/RPGH_starter.pid', 'r') as pid_file: pid=int(pid_file.read()) os.kill(pid,signal.SIGTERM) -- cgit v1.2.3-65-gdbad