From 429c65c0707cac54be185a3e3790c8ef98bb0c97 Mon Sep 17 00:00:00 2001 From: Jared J Date: Wed, 2 Mar 2022 13:47:53 +1100 Subject: [PATCH] Change checkFileExists function to use -e for symlink support. --- main | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main b/main index f4daa92..f8f7409 100755 --- a/main +++ b/main @@ -539,7 +539,8 @@ function pinVcpus { } function checkFileExists { - if [ -f "$1" ] + # Check for valid Symlink or real file + if [ -e "$1" ] then return 0 else