Skip to content

Commit

Permalink
nc-autoupdate-ncp: Append to log instead of replace
Browse files Browse the repository at this point in the history
Signed-off-by: Leandro Lucarella <[email protected]>
  • Loading branch information
llucax authored and nachoparker committed Jan 20, 2021
1 parent b1a9617 commit 7d15924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ncp/UPDATES/nc-autoupdate-ncp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ configure()
#!/bin/bash
source /usr/local/etc/library.sh
# Forward all output to the ncp log
exec > /var/log/ncp.log 2>&1
exec >> /var/log/ncp.log 2>&1
echo "\$(date) - Running \$0..."
if /usr/local/bin/ncp-test-updates; then
/usr/local/bin/ncp-update || exit 1
Expand Down

0 comments on commit 7d15924

Please sign in to comment.