From 4d688d71d36694419ae020c416833f9428fba798 Mon Sep 17 00:00:00 2001 From: rawleyIfowler Date: Wed, 23 Feb 2022 16:42:17 -0600 Subject: [PATCH] piped stderr and stdout to stdout log file --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index f6e4d3c..1373268 100755 --- a/main.sh +++ b/main.sh @@ -1,7 +1,7 @@ #!/bin/sh # WIP: Do not use this at the moment if [ -e "main" ]; then - ./main &> /var/log/rawleyxyz/log + ./main >> /var/log/rawleyxyz/log 2>&1 else go build "main.go" && ./main &> /var/log/rawleyxyz/log fi