Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fqjony committed Feb 21, 2025
1 parent 94237f5 commit 1a129b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ cleanup_cred_files() {
# If the value is a file path and exists, remove it
if [[ -f "$creds_value" ]]; then
log_info "Removing credential file for $provider: $creds_value"
rm -f "$creds_value"
if [[ $? -eq 0 ]]; then
if rm -f "$creds_value"; then
log_success "Cleanup" "Removed credential file for $provider"
return 0
else
Expand Down

0 comments on commit 1a129b1

Please sign in to comment.