mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Fixes python error msg
This commit is contained in:
parent
dd2bb51498
commit
dd34eca46d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ NODE_VERSION=4.7.1
|
||||||
|
|
||||||
checkcmd() {
|
checkcmd() {
|
||||||
curl -m 1 -s localhost:$port$path/api/v1/info | \
|
curl -m 1 -s localhost:$port$path/api/v1/info | \
|
||||||
python -c "import sys, json; print json.load(sys.stdin)['success']" >/dev/null 2>&1 | \
|
python -c "import sys, json; print json.load(sys.stdin)['success']" 2>/dev/null | \
|
||||||
grep "True" >/dev/null 2>&1
|
grep "True" >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue