Skip to content

Commit

Permalink
fix "unary operator expected" issue
Browse files Browse the repository at this point in the history
closing #537
  • Loading branch information
darealshinji committed Mar 6, 2018
1 parent bf884e9 commit 8346a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screenfetch-dev
Expand Up @@ -1407,7 +1407,7 @@ DetectIntelGPU() {
*intel*) gpu=intel ;;
esac

if [[ $gpu = intel ]]; then
if [[ "$gpu" = "intel" ]]; then
#Detect CPU
local CPU=$(uname -p | awk '{print $3}')
CPU=${CPU#*'-'}; #Detect CPU number
Expand Down

0 comments on commit 8346a75

Please sign in to comment.