Fix typo in service_mgr.py (#80824)

faild -> failed
pull/80984/head
Ikko Eltociear Ashimine 3 years ago committed by GitHub
parent 070ce87440
commit dbfb0d3cc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@ class ServiceMgrFactCollector(BaseFactCollector):
# tools must be installed
if module.get_bin_path('systemctl'):
# this should show if systemd is the boot init system, if checking init faild to mark as systemd
# this should show if systemd is the boot init system, if checking init failed to mark as systemd
# these mirror systemd's own sd_boot test http://www.freedesktop.org/software/systemd/man/sd_booted.html
for canary in ["/run/systemd/system/", "/dev/.run/systemd/", "/dev/.systemd/"]:
if os.path.exists(canary):

Loading…
Cancel
Save