mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
448bf9491a
We have to unset the LoadState variable from previous use when we check for systemd unit state. We use this variable to check if systemd services are loaded or not and if it is loaded, we issue systemctl commands to enable/disable and start/stop the service. We don't issue these commands if the unit is not loaded to avoid error messages which may confuse users.