Skip to content
Snippets Groups Projects
Commit ae70d9a3 authored by Bob Mottram's avatar Bob Mottram
Browse files

Exit on directory fail

parent 98623ed6
No related branches found
No related tags found
No related merge requests found
......@@ -412,7 +412,7 @@ function create_matrix_user_removal_script {
matrix_remove_user=/usr/bin/matrix-remove-user
{ echo '#!/bin/bash';
echo "cd $MATRIX_DATA_DIR";
echo "cd $MATRIX_DATA_DIR || exit 1";
echo "remove_username=\$1";
echo "ADMIN=\"@${MY_USERNAME}:$MATRIX_DOMAIN_NAME\"";
echo 'BUSY="pragma busy_timeout=20000"';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment