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