From d6cdd2839fca2c74be5bbf6045b10ab498b716af Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Sun, 8 Aug 2021 11:24:41 +0900 Subject: [PATCH] include/context: Make foundry_context_get_logs() search the right path The log path in foundry_context_get_logs() is incorrect, causing the method to search for logfiles in an incorrect directory. This commit changes the log directory in foundry_context_get_logs() so that logs from the correct directory are returned. --- include/context.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/context.sh b/include/context.sh index 6bddd2e..47caae8 100644 --- a/include/context.sh +++ b/include/context.sh @@ -143,7 +143,7 @@ foundry_context_get_logs() { local logs local log - logdir="$__foundry_context_root/$context/$logtype" + logdir="$__foundry_context_root/$context/logs/$logtype" logs=() while read -r log; do -- 2.47.3