From d306c37c44d931f02e86dca1b86bf6f477ffce75 Mon Sep 17 00:00:00 2001 From: Breizh Date: Fri, 7 Oct 2022 12:36:08 +0200 Subject: [PATCH] Gestion des liens symboliques --- controller.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.sh b/controller.sh index d776916..beb5fc9 100755 --- a/controller.sh +++ b/controller.sh @@ -19,7 +19,7 @@ do full=$(realpath "$i") # Exclusion(s) - if [[ "$full" =~ ^${root}/p ]] + if [[ "$full" =~ ^${root}/p || -L "$full" ]] then continue fi