From 70380363a1347529b466bd82501456f288e5adf9 Mon Sep 17 00:00:00 2001 From: jabali2004 <32802935+jabali2004@users.noreply.github.com> Date: Sat, 3 Apr 2021 23:12:48 +0200 Subject: [PATCH] minor fix in mysql.rs --- src/modules/services/databases/mysql.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/services/databases/mysql.rs b/src/modules/services/databases/mysql.rs index cb6dacd..971edea 100644 --- a/src/modules/services/databases/mysql.rs +++ b/src/modules/services/databases/mysql.rs @@ -56,7 +56,7 @@ pub fn get_table(table_name: String, config: Config) -> Option { .output() .expect("Error not able to run command!"); } else { - dump_command = Command::new("mysqldump.exe") + dump_command = Command::new(program_name) .args(&[ format!("-u{}", host_information.username).as_str(), format!("--host={}", host_information.address).as_str(),