mirror of https://github.com/vector-im/riot-web
dont swallow synapse startup errors
parent
f57628e3d0
commit
97fa7e03d1
|
@ -3,4 +3,10 @@ BASE_DIR=$(readlink -f $(dirname $0))
|
|||
cd $BASE_DIR
|
||||
cd installations/consent
|
||||
source env/bin/activate
|
||||
./synctl start 2> /dev/null
|
||||
LOGFILE=$(mktemp)
|
||||
./synctl start 2> $LOGFILE
|
||||
EXIT_CODE=$?
|
||||
if [ $EXIT_CODE -ne 0 ]; then
|
||||
cat $LOGFILE
|
||||
fi
|
||||
exit $EXIT_CODE
|
Loading…
Reference in New Issue