We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9153ea0 + b4a04dd commit dd44fecCopy full SHA for dd44fec
arc/benchmark.sh
@@ -93,7 +93,7 @@ fi
93
94
# If no valid token yet, try to extract from logs (first run scenario)
95
if [ -z "$ARC_TOKEN" ]; then
96
- ARC_TOKEN=$(sudo journalctl -u arc --no-pager | grep -oP 'Initial admin API token: \K[^\s]+' | head -1)
+ ARC_TOKEN=$(sudo journalctl -u arc --no-pager | grep -oP '(?:Initial admin API token|Admin API token): \K[^\s]+' | head -1)
97
if [ -n "$ARC_TOKEN" ]; then
98
echo "[OK] Captured new token from logs"
99
echo "$ARC_TOKEN" > arc_token.txt
0 commit comments