diff options
author | hagbard <vyosdev@derith.de> | 2019-04-27 18:40:32 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-04-27 18:40:32 -0700 |
commit | d654990111894c0f89ca4141862775ddd7a22b76 (patch) | |
tree | b26e08bd44ced7c9036c5382973a33c908c42a89 /src/conf_mode/syslog.py | |
parent | 6d848ec832d2911db487a2b04235759971022d47 (diff) | |
download | vyos-1x-d654990111894c0f89ca4141862775ddd7a22b76.tar.gz vyos-1x-d654990111894c0f89ca4141862775ddd7a22b76.zip |
[rsyslog] T1358 - typo fixed os.path.exists
Diffstat (limited to 'src/conf_mode/syslog.py')
-rwxr-xr-x | src/conf_mode/syslog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/syslog.py b/src/conf_mode/syslog.py index c8541a4a0..105f35657 100755 --- a/src/conf_mode/syslog.py +++ b/src/conf_mode/syslog.py @@ -279,7 +279,7 @@ def verify(c): raise ConfigError('Invalid logging level ' + s + ' set in '+ conf + ' ' + item) def apply(c): - if not os.path.exits('/var/run/rsyslogd.pid'): + if not os.path.exists('/var/run/rsyslogd.pid'): os.system("sudo systemctl start rsyslog >/dev/null") else: os.system("sudo systemctl restart rsyslog >/dev/null") |