From 37ede9b993442d2b73272d0f22d8165b25649da7 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Mon, 26 Oct 2020 15:03:27 -0400 Subject: [PATCH] [wip] Redirect so-user-add to separate log so ERROR isn't in main log --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 06f103cfc..3c056d23f 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -173,7 +173,7 @@ add_web_user() { echo "Attempting to add administrator user for web interface..."; echo "$WEBPASSWD1" | /usr/sbin/so-user add "$WEBUSER"; echo "Add user result: $?"; - } >> "$setup_log" 2>&1 + } >> "/root/so-user-add.log" 2>&1 } # Create an secrets pillar so that passwords survive re-install