diff --git a/library/system/service b/library/system/service index 6fe57fdbc1a..53416f54039 100644 --- a/library/system/service +++ b/library/system/service @@ -388,8 +388,6 @@ class LinuxService(Service): initpaths = [ '/etc/init.d' ] location = dict() - for binary in binaries: - location[binary] = None for binary in binaries: location[binary] = self.module.get_bin_path(binary)