Skip to content

Commit dd44fec

Browse files
authored
Merge pull request #827 from Basekick-Labs/main
fix(arc): update token grep pattern for Arc v26.04.1+
2 parents 9153ea0 + b4a04dd commit dd44fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arc/benchmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fi
9393

9494
# If no valid token yet, try to extract from logs (first run scenario)
9595
if [ -z "$ARC_TOKEN" ]; then
96-
ARC_TOKEN=$(sudo journalctl -u arc --no-pager | grep -oP 'Initial admin API token: \K[^\s]+' | head -1)
96+
ARC_TOKEN=$(sudo journalctl -u arc --no-pager | grep -oP '(?:Initial admin API token|Admin API token): \K[^\s]+' | head -1)
9797
if [ -n "$ARC_TOKEN" ]; then
9898
echo "[OK] Captured new token from logs"
9999
echo "$ARC_TOKEN" > arc_token.txt

0 commit comments

Comments
 (0)