From 67b4747afa65f356b9a1da22509739f439c9957e Mon Sep 17 00:00:00 2001 From: dadav <33197631+dadav@users.noreply.github.com> Date: Fri, 17 Apr 2020 16:39:31 +0200 Subject: [PATCH] adjust cmd --- builder/data/usr/bin/pwnlib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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