diff options
author | erg_samowzbudnik <uinarf@autistici.org> | 2021-06-12 10:20:50 +0200 |
---|---|---|
committer | erg_samowzbudnik <uinarf@autistici.org> | 2021-06-12 10:20:50 +0200 |
commit | 0390bc18b498128364b05329c6d84b6c5b505773 (patch) | |
tree | 601ce0de1d4c51c9f8145b62865b07ee2cd9fa09 | |
parent | 32d9b74be4b6c599d8074fdf4573869322543451 (diff) | |
download | RPGH-0390bc18b498128364b05329c6d84b6c5b505773.tar.gz RPGH-0390bc18b498128364b05329c6d84b6c5b505773.tar.bz2 RPGH-0390bc18b498128364b05329c6d84b6c5b505773.zip |
fix typo
-rw-r--r-- | monitor_unified.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |