1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-01-20 10:04:13 +03:00

The autofs restart condition has been clarified

This commit is contained in:
Valery Sinelnikov 2024-12-05 17:13:21 +04:00
parent aa4bf9a7c8
commit dc054008fd

View File

@ -341,7 +341,7 @@ class cifs_applier_user(applier_frontend):
f.write(autofs_text)
f.flush()
if self.is_changed_keys() or not self.is_mount_point_dirname():
if self.is_changed_keys() or (self.drives and not self.is_mount_point_dirname()):
self.restart_autofs()
if self.username: