Skip to content

Commit

Permalink
fix: send stderr to log as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Penguinmaster2001 committed Jul 11, 2024
1 parent 2928182 commit d9a3e98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pi_startup/auto_update_service/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ cd $git_dir
echo >> $log_path
date >> $log_path

git pull >> $log_path
# Send both stdout and stderr to the log
git pull >> $log_path 2>&1

echo $(pwd) > testing.txt

Expand Down

0 comments on commit d9a3e98

Please sign in to comment.