Skip to content

Commit ee85d73

Browse files
committed
fix(step-6): unset SAVED_TOKEN after self-test validation
Clears the read-back Telegram token from shell memory immediately after the format-validation test, consistent with the unset pattern applied to BOT_TOKEN/EXISTING_TOKEN in the installation block.
1 parent c0c15d8 commit ee85d73

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

step-6/step-6-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ if [ -f "$TOKEN_FILE" ]; then
242242
echo -e "${RED}[FAIL]${NC} TEST: Token format invalid"
243243
TEST_FAIL=$((TEST_FAIL + 1))
244244
fi
245+
unset SAVED_TOKEN
245246
else
246247
echo -e "${RED}[FAIL]${NC} TEST: Cannot validate token (file missing)"
247248
TEST_FAIL=$((TEST_FAIL + 1))

0 commit comments

Comments
 (0)