mirror of
https://github.com/HikariKnight/quickpassthrough.git
synced 2025-05-23 11:37:04 -04:00
more shellcheck
This commit is contained in:
parent
08e4da4575
commit
7d92058efc
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Get the scripts directory
|
# Get the scripts directory
|
||||||
SCRIPTDIR=$(dirname `which $0`)
|
SCRIPTDIR=$(dirname "$(which $0)")
|
||||||
cd $SCRIPTDIR
|
cd $SCRIPTDIR
|
||||||
|
|
||||||
# If there is a config generated, then $SCRIPTDIR/config/kernel_args
|
# If there is a config generated, then $SCRIPTDIR/config/kernel_args
|
||||||
|
@ -25,4 +25,4 @@ else
|
||||||
# Tell user to run the setup first if the kernel_args file is not found
|
# Tell user to run the setup first if the kernel_args file is not found
|
||||||
echo "Please run \"$SCRIPTDIR/vfio-setup\" first!"
|
echo "Please run \"$SCRIPTDIR/vfio-setup\" first!"
|
||||||
|
|
||||||
fi
|
fi
|
Loading…
Add table
Add a link
Reference in a new issue