mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-01-10 13:17:58 +03:00
Added state for stopping the service.
This commit is contained in:
parent
a1281d3ac0
commit
07662349ca
@ -62,7 +62,7 @@ class systemd_unit:
|
||||
|
||||
service_state = self._get_state()
|
||||
|
||||
if not service_state in ['stopped']:
|
||||
if not service_state in ['stopped', 'deactivating', 'inactive']:
|
||||
logdata = dict()
|
||||
logdata['unit'] = self.unit_name
|
||||
log('E46', logdata)
|
||||
|
Loading…
Reference in New Issue
Block a user