From 647c997a21b4b49f331c936bb7438dcb23d1dca4 Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 6 Aug 2019 00:31:45 +0800 Subject: [PATCH] Update index.py --- plugins/solr/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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