From e94140e52be621634d0f17b9c434602497d3c24c Mon Sep 17 00:00:00 2001 From: Semyon Deviatkin Date: Fri, 15 May 2015 11:36:04 +0300 Subject: [PATCH] Fix unused variable systemd_enabled Removed declared but unused variable systemd_enabled --- lib/ansible/modules/system/service.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/modules/system/service.py b/lib/ansible/modules/system/service.py index e8e315d8e6d..031b495f51d 100644 --- a/lib/ansible/modules/system/service.py +++ b/lib/ansible/modules/system/service.py @@ -421,7 +421,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')