From 7d92058efc00d67bff46a22c39add202c7dcde2c Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 4 Mar 2022 02:18:44 +0000 Subject: [PATCH] more shellcheck --- vfio-verify | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vfio-verify b/vfio-verify index d9cb3d4..ef119d2 100755 --- a/vfio-verify +++ b/vfio-verify @@ -1,7 +1,7 @@ #!/bin/bash # Get the scripts directory -SCRIPTDIR=$(dirname `which $0`) +SCRIPTDIR=$(dirname "$(which $0)") cd $SCRIPTDIR # 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 echo "Please run \"$SCRIPTDIR/vfio-setup\" first!" -fi \ No newline at end of file +fi \ No newline at end of file