From b4ab681061a5109464cef53b0b01720af764ff1e Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 6 Jul 2023 09:08:23 +0200 Subject: [PATCH] #71538 : fix Redis dump list in case directory is a symlink Cf. #fd9bb57f8bd0d2537d82e7e3cf4362e3da0538ea --- client/lib/dump.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/dump.sh b/client/lib/dump.sh index a0298b7..39a8d1f 100644 --- a/client/lib/dump.sh +++ b/client/lib/dump.sh @@ -638,7 +638,7 @@ dump_postgresql_filtered() { # --instances=[Integer] (default: all) ####################################################################### dump_redis() { - all_instances=$(find /var/lib/ -mindepth 1 -maxdepth 1 -type d -name 'redis*') + all_instances=$(find /var/lib/ -mindepth 1 -maxdepth 1 '(' -type d -o -type l ')' -name 'redis*') local option_instances="" # Parse options, based on https://gist.github.com/deshion/10d3cb5f88a21671e17a