Skip to content

Commit

Permalink
Update zcli-login.expect
Browse files Browse the repository at this point in the history
  • Loading branch information
nahbee10 authored Dec 18, 2024
1 parent 49bc4b4 commit 47f6a21
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/zcli-login.expect
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,16 @@ expect {
}
}

# Wait for successful login message
expect {
"Successfully logged in." {
puts "ZCLI login completed successfully."
}
timeout {
puts "Error: Timeout while waiting for 'Successfully logged in.' confirmation"
exit 1
}
}

# Wait for the process to complete
expect eof

0 comments on commit 47f6a21

Please sign in to comment.