fix missing exit

This commit is contained in:
Georgiy Ignatov 2020-05-14 10:43:32 +03:00
parent 6a30fa54df
commit 206731fbc3

View File

@ -192,6 +192,7 @@ patch_common () {
echo "CMD: \"$cmd\"" echo "CMD: \"$cmd\""
echo "Result: \"$driver_versions_list\"" echo "Result: \"$driver_versions_list\""
echo "nvidia-smi retcode: $ret_code" echo "nvidia-smi retcode: $ret_code"
exit 1
fi fi
echo "Detected nvidia driver version: $driver_version" echo "Detected nvidia driver version: $driver_version"