Commit 8e052979 authored by 3PO's avatar 3PO Committed by Vladislav Yarmak

Update patch.sh

Done.
parent 1000312b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment