From 2667c3b2e5b214d9b7c1d7c65a6b9ec66d83b76a Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 27 Oct 2023 23:40:31 +0100 Subject: [PATCH] ignore systemdir check if running github actions --- lgsm/modules/check_system_dir.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/check_system_dir.sh b/lgsm/modules/check_system_dir.sh index 01c6437489..2f57511fbd 100644 --- a/lgsm/modules/check_system_dir.sh +++ b/lgsm/modules/check_system_dir.sh @@ -15,7 +15,7 @@ if [ ! -d "${serverfiles}" ]; then core_exit.sh fi -if [ ! -d "${systemdir}" ]; then +if [ ! -d "${systemdir}" ] && [ -z "${CI}" ]; then fn_print_fail_nl "Cannot access ${systemdir}: No such directory" if [ -d "${lgsmlogdir}" ]; then fn_script_log_fail "Cannot access ${systemdir}: No such directory."