patch applied, sorry for the late response, it got stuff in the
moderator queue
Adrian
Luca Foppiano wrote:
---
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 062aea5..86217bf 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):
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list