Skip to content

Commit

Permalink
Merge pull request kubernetes#484 from david-mcmahon/rm-archive-file2
Browse files Browse the repository at this point in the history
Make the find/delete a bit more bulletproof and ||true it to be sure.
  • Loading branch information
david-mcmahon authored Dec 11, 2017
2 parents 2512eb2 + 74fd048 commit c2c9929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anago
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ archive_release () {
fi

# Remove temporary password file so not to alarm passers-by.
logrun find $WORKDIR -type f -name rsyncd.password -exec rm {};
logrun find $WORKDIR -type f -name rsyncd.password -delete ||true

# Best effort
logecho "Copy $WORKDIR $text to $archive_bucket/$build_dir..."
Expand Down

0 comments on commit c2c9929

Please sign in to comment.