Merge pull request #1334 from devjatkin/fix-service

Fix unused variable systemd_enabled
This commit is contained in:
Brian Coca 2015-05-17 08:50:33 -04:00
commit e00b47be75

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