mirror of
https://github.com/bashclub/check-nextcloud.git
synced 2024-11-07 15:01:58 +01:00
Update check-nextcloud
This commit is contained in:
parent
0a11b3ddac
commit
aaf5764f6a
@ -78,7 +78,7 @@ def occ (command:str, nc_www_user:str, nc_path:str, nc_php_version:str="", outpu
|
|||||||
if output != "":
|
if output != "":
|
||||||
cmd = cmd + f" --output {output}"
|
cmd = cmd + f" --output {output}"
|
||||||
|
|
||||||
_proc = subprocess.Popen([ cmd ], shell=True, cwd=nc_path if docker_container != None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
_proc = subprocess.Popen([ cmd ], shell=True, cwd=nc_path if docker_container is not None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
|
||||||
stdout, stderr = _proc.communicate()
|
stdout, stderr = _proc.communicate()
|
||||||
if (stderr):
|
if (stderr):
|
||||||
|
Loading…
Reference in New Issue
Block a user