From 6ed1ae46f7ff6cc9152a076af0b1c431a65bb7ad Mon Sep 17 00:00:00 2001 From: Johannes Randerath Date: Tue, 7 May 2024 19:17:32 +0200 Subject: [PATCH] backup-20240507-19h17 --- user_backup_git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_backup_git.sh b/user_backup_git.sh index 37d3e6b..52bca83 100644 --- a/user_backup_git.sh +++ b/user_backup_git.sh @@ -2,7 +2,7 @@ # DATE=$(date +%Y%m%d-%Hh%M) LOGFILE=/home/johannes/.var/log/${DATE}-user-backup.log -su johannes -c "touch $LOGFILE 2>&1" +touch $LOGFILE echo "--------------------------------------------------------------------" >> $LOGFILE 2>&1 for repo in $(find /home/johannes -type d -name '.jr_backup'); do git -C $repo/.. add $repo/../* >> $LOGFILE 2>&1