Skip to content

Commit

Permalink
same as in the py file
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Apr 19, 2020
1 parent f616871 commit c2f9860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/data/usr/bin/pwnlib
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ blink_led() {

# check if brcm is stuck
check_brcm() {
if [[ "$(journalctl -n10 -k --since '5 minutes ago' | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 5 ]]; then
if [[ "$(journalctl -n10 -k --since -5m | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 5 ]]; then
return 1
fi
return 0
Expand Down

0 comments on commit c2f9860

Please sign in to comment.