Make shellcheck happier

This commit is contained in:
HikariKnight 2022-03-12 15:34:40 +01:00
parent 4fc07b97f2
commit 901096604c
No known key found for this signature in database
GPG key ID: E8B239063B022F5A
10 changed files with 20 additions and 19 deletions

View file

@ -20,7 +20,7 @@ To use any of the devices shown for passthrough, all of them have to be passed t
To return to the previous page just press ENTER.
"
read -p "Do you want to use the displayed devices for passthrough? [y/N]: " YESNO
read -r -p "Do you want to use the displayed devices for passthrough? [y/N]: " YESNO
case "${YESNO}" in
[Yy]*)
@ -39,7 +39,7 @@ To return to the previous page just press ENTER.
}
function main () {
SCRIPTDIR=$(dirname "$(realpath $0)" | perl -pe "s/\/\.\.\/lib//" | perl -pe "s/\/lib$//")
SCRIPTDIR=$(dirname "$(realpath "$0")" | perl -pe "s/\/\.\.\/lib//" | perl -pe "s/\/lib$//")
get_USB_CTL_GROUP $1
}