initial changes to convert all commands to be string based for consistency

This commit is contained in:
Blake Harnden 2019-10-11 16:36:57 -07:00
parent 69772f993c
commit 02ef91242e
21 changed files with 145 additions and 256 deletions

View file

@ -415,7 +415,7 @@ class HttpService(UtilService):
Detect the apache2 version using the 'a2query' command.
"""
try:
result = utils.check_cmd(["a2query", "-v"])
result = utils.check_cmd("a2query -v")
status = 0
except CoreCommandError as e:
status = e.returncode