Specify full path to alsactl

Debian doesn't include /usr/sbin in $PATH so alsactl isn't found.
Hopefully it's in /usr/sbin for everyone.

Fixes #65.
This commit is contained in:
Geoffrey D. Bennett
2023-10-19 02:08:58 +10:30
parent a2bbac248a
commit 1839c18671

View File

@@ -15,7 +15,7 @@ static void run_alsactl(
GtkWindow *w = GTK_WINDOW(card->window_main);
gchar *argv[] = {
"alsactl", cmd, card->device, "-f", fn, NULL
"/usr/sbin/alsactl", cmd, card->device, "-f", fn, NULL
};
gchar *stdout;
gchar *stderr;