Misc 6 #77

Merged
oysteikt merged 9 commits from misc into main 2024-08-19 18:14:14 +02:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 3556eb37ea - Show all commits

View File

@ -13,7 +13,7 @@ use futures::StreamExt;
use crate::{ use crate::{
core::{ core::{
bootstrap::{bootstrap_server_connection_and_drop_privileges, drop_privs}, bootstrap::bootstrap_server_connection_and_drop_privileges,
protocol::{create_client_to_server_message_stream, Response}, protocol::{create_client_to_server_message_stream, Response},
}, },
server::command::ServerArgs, server::command::ServerArgs,
@ -148,7 +148,6 @@ fn handle_mysql_admutils_command() -> anyhow::Result<Option<()>> {
fn handle_server_command(args: &Args) -> anyhow::Result<Option<()>> { fn handle_server_command(args: &Args) -> anyhow::Result<Option<()>> {
match args.command { match args.command {
Command::Server(ref command) => { Command::Server(ref command) => {
drop_privs()?;
tokio_start_server( tokio_start_server(
args.server_socket_path.clone(), args.server_socket_path.clone(),
args.config.clone(), args.config.clone(),