1
0
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:
Данила Скачедубов 2023-09-21 16:45:11 +04:00
parent a1281d3ac0
commit 07662349ca

View File

@ -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)