nc-autoupdate-ncp: Append to log instead of replace

Signed-off-by: Leandro Lucarella <luca@llucax.com>
This commit is contained in:
Leandro Lucarella 2021-01-19 09:24:40 +01:00 committed by nachoparker
parent b1a9617a1e
commit 7d15924c8c

View File

@ -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