Skip to content

Commit

Permalink
No longer run usage() and bbcheck() in unconfigured state (boo#1207144)
Browse files Browse the repository at this point in the history
  • Loading branch information
sndirsch committed Jan 15, 2023
1 parent f5d7bb3 commit cd1a7b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prime-select.sh
Original file line number Diff line number Diff line change
Expand Up @@ -721,11 +721,10 @@ case $type in
if [ -f /etc/prime/current_type ]; then
echo -n "Driver configured: "
cat /etc/prime/current_type
bbcheck
else
echo "No driver configured."
usage
fi
bbcheck
;;

unset)
Expand Down

0 comments on commit cd1a7b4

Please sign in to comment.