Update patch.sh

Done.
This commit is contained in:
3PO 2019-01-19 15:30:06 +01:00 committed by Vladislav Yarmak
parent 1000312b62
commit 8e05297988

View File

@ -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