From 85533e9b2f2b5975cbbf5d0710901e35835787e3 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" Date: Thu, 29 Jun 2023 23:37:31 +0300 Subject: [PATCH] fix args --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1037f13..c105ddc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -34,7 +34,7 @@ fn build_ui(app: &Application) { println!("Checking HW paramter script for available drivers:\n"); let ubuntu_drivers_list_cli = Command::new("bash") - .arg("-c", "/usr/lib/pika/drivers/generate_driver_definitions.sh") + .args("-c", "/usr/lib/pika/drivers/generate_driver_definitions.sh") .output() .expect("failed to execute process"); @@ -133,7 +133,7 @@ fn modify_package(package: &str, driver_button: &Button) { driver_button_refresh(package, driver_button); println!("Sending error message.\n"); let _error_command = Command::new("bash") - .arg("-c", "/usr/lib/pika/drivers/dialog-error.sh", package) + .args("-c", "/usr/lib/pika/drivers/dialog-error.sh", package) .spawn() .expect("Failed to start pika-drivers error dialog"); }