diff options
Diffstat (limited to 'func/minion')
-rw-r--r-- | func/minion/modules/service.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/func/minion/modules/service.py b/func/minion/modules/service.py index 25acea3..7f3d381 100644 --- a/func/minion/modules/service.py +++ b/func/minion/modules/service.py @@ -25,6 +25,8 @@ class Service(func_module.FuncModule): description = "Allows for service control via func." def __command(self, service_name, command): + + service_name = service_name.strip() # remove useless spaces filename = os.path.join("/etc/rc.d/init.d/",service_name) if os.path.exists(filename): |