Skip to content

Commit

Permalink
fix log location
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbauer committed Mar 5, 2024
1 parent f1fc278 commit c065568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create-backup
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
set -e

LOGFILE="/var/logs/borg/borgbackup.log"
LOGFILE="/var/log/borg/borgbackup.log"

function log () {
echo "$(date "+%m-%d-%Y %T"): $1" 2>1 | tee -a $LOGFILE
Expand Down

0 comments on commit c065568

Please sign in to comment.