diff options
author | Joe Groocock <me@frebib.net> | 2023-05-14 11:42:21 +0000 |
---|---|---|
committer | Joe Groocock <me@frebib.net> | 2023-05-14 11:43:52 +0000 |
commit | 151f851502c8f7ec09d411a8a81452f7a7d64042 (patch) | |
tree | 541744fadaf13c7044cabb5046b6e7b4a0091c28 /src/validators | |
parent | aea89228d8c14ae0a11c5506a9c636200be97cfb (diff) | |
download | vyos-1x-151f851502c8f7ec09d411a8a81452f7a7d64042.tar.gz vyos-1x-151f851502c8f7ec09d411a8a81452f7a7d64042.zip |
T5224: Fix `del system syslog`
os.unlink() is the correct function:
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/system-syslog.py", line 146, in <module>
generate(c)
File "/usr/libexec/vyos/conf_mode/system-syslog.py", line 114, in generate
os.path.unlink(rsyslog_conf)
^^^^^^^^^^^^^^
AttributeError: module 'posixpath' has no attribute 'unlink'
Signed-off-by: Joe Groocock <me@frebib.net>
Diffstat (limited to 'src/validators')
0 files changed, 0 insertions, 0 deletions