From a52e53d123769497ab00ffae165eba5fdf4c0344 Mon Sep 17 00:00:00 2001 From: Orazio Date: Mon, 14 Dec 2020 15:15:29 +0100 Subject: [PATCH] 'sudo mktemp' creates file with 0600 mode, which means we need root to read it. --- auto_install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index f2281f4..cf5e4f2 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -570,7 +570,7 @@ installDependentPackages(){ done if [ "$FAILED" -gt 0 ]; then - cat "${APTLOGFILE}" + $SUDO cat "${APTLOGFILE}" exit 1 fi }