Fix unused variable systemd_enabled

Removed declared but unused variable systemd_enabled
This commit is contained in:
Semyon Deviatkin 2015-05-15 11:36:04 +03:00
parent 68c3068940
commit 4e22a8039c

View file

@ -410,7 +410,6 @@ class LinuxService(Service):
if not location.get('systemctl', False):
return False
systemd_enabled = False
# Check if init is the systemd command, using comm as cmdline could be symlink
try:
f = open('/proc/1/comm', 'r')