From 4e69af6caa6aa251f439b7cb92cfb0b6109f485a Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Thu, 25 May 2023 14:40:32 +0200 Subject: [PATCH] also write error messages --- release_files/darwin_pkg/postinstall | 2 +- release_files/darwin_pkg/preinstall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release_files/darwin_pkg/postinstall b/release_files/darwin_pkg/postinstall index 3342de933..abe9e73fa 100755 --- a/release_files/darwin_pkg/postinstall +++ b/release_files/darwin_pkg/postinstall @@ -29,4 +29,4 @@ LOG_FILE=/var/log/netbird/client_install.log echo "Finished Netbird installation successfully" exit 0 # all good -} >> $LOG_FILE +} &>> $LOG_FILE diff --git a/release_files/darwin_pkg/preinstall b/release_files/darwin_pkg/preinstall index e730e277f..dc630afd4 100755 --- a/release_files/darwin_pkg/preinstall +++ b/release_files/darwin_pkg/preinstall @@ -5,4 +5,4 @@ LOG_FILE=/var/log/netbird/client_install.log { echo "Preinstall complete" exit 0 # all good -} > $LOG_FILE +} &> $LOG_FILE