From 8e05297988a4000122c99021bf0758d3df295f0a Mon Sep 17 00:00:00 2001 From: 3PO Date: Sat, 19 Jan 2019 15:30:06 +0100 Subject: [PATCH] Update patch.sh Done. --- patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch.sh b/patch.sh index a212f65..0e2b7c4 100755 --- a/patch.sh +++ b/patch.sh @@ -75,7 +75,7 @@ declare -A object_list=( NVIDIA_SMI="$(which nvidia-smi)" -if ! driver_version=$($NVIDIA_SMI --query-gpu=driver_version --format=csv,noheader,nounits | head -n 1) ; then +if ! driver_version=$("$NVIDIA_SMI" --query-gpu=driver_version --format=csv,noheader,nounits | head -n 1) ; then echo 'Something went wrong. Check nvidia driver' exit 1; fi