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