shellcheck /usr/bin/gufw In /usr/bin/gufw line 2: if [ $(loginctl show-session $(loginctl|grep $(whoami) |awk '{print $1}') -p Type) = "Type=wayland" ]; then ^-- SC2046: Quote this to prevent word splitting. ^-- SC2046: Quote this to prevent word splitting. ^-------^ SC2046: Quote this to prevent word splitting. In /usr/bin/gufw line 6: pkexec gufw-pkexec $c_user ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: pkexec gufw-pkexec "$c_user" For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...