aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/pulse2jack2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pulse2jack b/bin/pulse2jack
index 73ede01..b7ab947 100755
--- a/bin/pulse2jack
+++ b/bin/pulse2jack
@@ -20,7 +20,7 @@ function jack_module_off()
/usr/bin/pacmd unload-module module-jack-source
}
-case "$1" in
+case "$@" in
"on")
jack_module_on
;;