diff --git a/plugins/solr/index.py b/plugins/solr/index.py index 6cca69951..4099384a8 100755 --- a/plugins/solr/index.py +++ b/plugins/solr/index.py @@ -103,7 +103,7 @@ def runShell(shell): if public.isAppleSystem(): data = public.execShell(shell) else: - data = public.execShell('su - solr -s /bin/sh ' + shell) + data = public.execShell('su - solr -c "/bin/sh ' + shell + '"') return data