mirror of
https://github.com/mautrix/whatsapp.git
synced 2025-03-14 14:15:38 +00:00
Don't print generated registration message if config is invalid
This commit is contained in:
parent
0dc5c820c4
commit
f085b4d11c
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ if [[ ! -f /data/config.yaml ]]; then
|
|||
fi
|
||||
|
||||
if [[ ! -f /data/registration.yaml ]]; then
|
||||
/usr/bin/mautrix-whatsapp -g -c /data/config.yaml -r /data/registration.yaml
|
||||
/usr/bin/mautrix-whatsapp -g -c /data/config.yaml -r /data/registration.yaml || exit $?
|
||||
echo "Didn't find a registration file."
|
||||
echo "Generated one for you."
|
||||
echo "See https://docs.mau.fi/bridges/general/registering-appservices.html on how to use it."
|
||||
|
|
Loading…
Add table
Reference in a new issue