From d8826f608c8b740d035064a8104e88cdf6a256b3 Mon Sep 17 00:00:00 2001 From: the Sane <3657071+the-sane@users.noreply.github.com> Date: Sun, 10 Oct 2021 22:12:28 -0400 Subject: [PATCH] Add sanity check --- lug-helper.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index f1fadd2..d9388f6 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -509,7 +509,9 @@ display_dirs() { fi # Lutris runners - dirs_list+="\n\nLutris Runners:\n$runners_dir" + if [ -f "$conf_dir/$conf_subdir/$game_conf" ]; then + dirs_list+="\n\nLutris Runners:\n$runners_dir" + fi message info "These directories are currently being used by this Helper and Star Citizen\n${dirs_list[@]}"