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:
parent
aa4bf9a7c8
commit
dc054008fd
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user