diff --git a/docker-run.sh b/docker-run.sh index 9ebb99e..eeca032 100755 --- a/docker-run.sh +++ b/docker-run.sh @@ -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."