#71538 : fix Redis dump list in case directory is a symlink
Cf. #fd9bb57f8bd0d2537d82e7e3cf4362e3da0538ea
This commit is contained in:
parent
d71fd5343f
commit
b4ab681061
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue