diff --git a/builder/data/usr/bin/pwnlib b/builder/data/usr/bin/pwnlib index 15eb8ef..878b4c1 100755 --- a/builder/data/usr/bin/pwnlib +++ b/builder/data/usr/bin/pwnlib @@ -14,7 +14,7 @@ blink_led() { # check if brcm is stuck check_brcm() { - if [[ "$(journalctl -b0 -k --no-pager | tail -10 | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 3 ]]; then + if [[ "$(journalctl -n10 -k | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 3 ]]; then return 1 fi return 0