mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user