From: Matthias Kruk Date: Sun, 8 Aug 2021 02:24:41 +0000 (+0900) Subject: include/context: Make foundry_context_get_logs() search the right path X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=d6cdd2839fca2c74be5bbf6045b10ab498b716af;p=foundry 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. --- 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