Skip to content

Commit

Permalink
🔧 backup: use $LOGS_DIR variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianmiranda committed Jan 30, 2024
1 parent 193dcc1 commit cd3b8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home/bin/backup
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ COMMAND="
\"$HOME/\" $BACKUP_DIR_PATH \
"

echo $COMMAND | tee -a $HOME/logs/backup_$TIMESTAMP.log
eval $COMMAND | tee -a $HOME/logs/backup_$TIMESTAMP.log
echo $COMMAND | tee -a $LOGS_DIR/backup_$TIMESTAMP.log
eval $COMMAND | tee -a $LOGS_DIR/backup_$TIMESTAMP.log

0 comments on commit cd3b8a0

Please sign in to comment.