Skip to content

Commit

Permalink
"existing log check" removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Dec 9, 2018
1 parent d6707e9 commit 5bc59fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vagrant_init_destroy_boxes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ main() {
export VAGRANT_CWD="$TMPDIR/$VAGRANT_BOX_NAME_SHORT"
export LOG_FILE="$LOGDIR/${VAGRANT_BOX_NAME}-init.log"

if [ -f $LOG_FILE ]; then
echo -e "\n*** Logfile \"$LOG_FILE\" exist, please remove it... Skipping...\n"
continue
fi
echo -e "*** ${VAGRANT_BOX_FILE} [$VAGRANT_BOX_NAME] ($VAGRANT_BOX_PROVIDER) ($TMPDIR/$VAGRANT_BOX_NAME_SHORT)" | tee $LOG_FILE
test -d "$VAGRANT_CWD" && rm -rf "$VAGRANT_CWD"
mkdir "$VAGRANT_CWD"
Expand Down

0 comments on commit 5bc59fb

Please sign in to comment.