diff --git a/scripts/restore b/scripts/restore index b3ccd4f..6b8a72c 100755 --- a/scripts/restore +++ b/scripts/restore @@ -178,7 +178,7 @@ sleep 30 # (Note that, by default, non-admins might not have your homeserver's permission to create communities.) if [ "$bot_synapse_adm" = true ] then - ynh_psql_execute_as_root --database=$synapse_db_name --sql="UPDATE users SET admin = 1 WHERE name = ""$botname"";" + ynh_psql_execute_as_root --database=$synapse_db_name --sql="UPDATE users SET admin = 1 WHERE name = \"$botname\";" # #yunohost app action run $synapse_instance set_admin_user -a username=$botname fi ynh_systemd_action --service_name=$app --action="restart"