From 5b6e8266d95867ee9a33a91cf6565ad2f2c38f47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= <filip.stromback@liu.se>
Date: Thu, 20 Jun 2024 13:40:54 +0200
Subject: [PATCH] Make sure to log errors also.

---
 files/tal/on_update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/tal/on_update.sh b/files/tal/on_update.sh
index 4c364f7..5108f56 100644
--- a/files/tal/on_update.sh
+++ b/files/tal/on_update.sh
@@ -2,7 +2,7 @@
 
 if [[ $# -gt 0 ]]
 then
-    /home/examadm/tal-cli/on_update.sh | tee /home/examadm/tal-cli/log
+    /home/examadm/tal-cli/on_update.sh 2>&1 | tee /home/examadm/tal-cli/log
     exit $?
 fi
 
-- 
GitLab