Skip to content

Commit

Permalink
Merge pull request #24 from mariux64/let-nvidiactl-return-success-on-…
Browse files Browse the repository at this point in the history
…systems-with-no-nvidia-card

Let `nvidiactl` return success on systems with no Nvidia card
  • Loading branch information
donald authored Feb 21, 2018
2 parents 07ce784 + d5c2b19 commit 613b23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvidiactl/nvidiactl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -z ${nvver} ] ; then
echo >&2 "WARNING: no nvidia card found.."
rm -f /node/usr_share_mxgfx
ln -sf /usr/share/mxgfx-generic /node/usr_share_mxgfx
exit 1
exit 0
fi

pciids="${PCIIDHINT_DIR}/${kver}-${nvver} ${PCIIDHINT_DIR}/${nvver}"
Expand Down

0 comments on commit 613b23b

Please sign in to comment.