mirror of
https://github.com/keylase/nvidia-patch.git
synced 2025-01-08 21:57:00 +00:00
fixup! Add more descriptive info about driver version detection failure #267
This commit is contained in:
parent
206731fbc3
commit
9f7e57c3a8
2
patch.sh
2
patch.sh
@ -187,7 +187,7 @@ patch_common () {
|
||||
driver_versions_list=$($cmd)
|
||||
ret_code=$?
|
||||
driver_version=$(echo "$driver_versions_list" | head -n 1)
|
||||
if [ $ret_code -ne 0 ] && [ -nz driver_version ] ; then
|
||||
if [[ $ret_code -ne 0 ]] ; then
|
||||
echo "Can not detect nvidia driver version."
|
||||
echo "CMD: \"$cmd\""
|
||||
echo "Result: \"$driver_versions_list\""
|
||||
|
Loading…
Reference in New Issue
Block a user