manager: Pass an empty slice instead of a slice with a single empty string

This commit is contained in:
Vicki Pfau 2024-03-28 16:40:48 -07:00
parent a5dfde2b17
commit 6a5e693e5b

View file

@ -102,7 +102,7 @@ impl SMManager {
// Run script to get calibration value // Run script to get calibration value
let result = script_output( let result = script_output(
"/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain", "/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain",
&[""], &[] as &[String; 0],
) )
.await; .await;
match result { match result {