From a141a05b087a446198433fd771f8cafd8b1a563a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81?= Date: Fri, 3 Nov 2017 05:39:00 +0800 Subject: [PATCH] woeusb: pulse: Fix parameter reference bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ๆž—ๅšไป --- src/woeusb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/woeusb b/src/woeusb index 0cf9a83..edc91a0 100755 --- a/src/woeusb +++ b/src/woeusb @@ -1632,7 +1632,7 @@ trigger_wxGenericProgressDialog_pulse(){ return 0 fi - case "$1" in + case "${switch}" in on) # Don't do anything if it is already turned on if [ "${pulse_current_pid}" -ne 0 ]; then