Skip to content

Commit

Permalink
fix fatal typo in is_pifour()
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <[email protected]>
  • Loading branch information
mstormi committed May 21, 2020
1 parent a6b983f commit d25e29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ is_pithreeplus() {
}
is_pifour() {
if [[ "$hw" == "pi4" ]]; then return 0; fi
! grep -q "^Revision\\s*:\\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$" /proc/cpuinfo
grep -q "^Revision\\s*:\\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]11[0-9a-fA-F]$" /proc/cpuinfo
return $?
}
is_pi() {
Expand Down

0 comments on commit d25e29e

Please sign in to comment.