From c3188f8da0870a9336d908949917f1cdf4bc81b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 16 Mar 2021 15:53:45 +0100 Subject: [PATCH] Fix unbound variable --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index e652e29..63f92bc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -198,7 +198,9 @@ then python -m synapse.app.homeserver --keys-directory /etc/matrix-$app/ --generate-config --generate-keys --server-name $server_name --report-stats=no -c homeserver.yml # This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does + set +u; deactivate + set -u; # Get random values from config ynh_print_OFF