mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
nc-autoupdate-ncp: Append to log instead of replace
Signed-off-by: Leandro Lucarella <luca@llucax.com>
This commit is contained in:
parent
b1a9617a1e
commit
7d15924c8c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user