bkctld-list: note for later, try a simpler command

This commit is contained in:
Jérémy Lecour 2020-04-01 07:27:43 +02:00 committed by Jérémy Lecour
parent 6cf49b2a8b
commit 9ae2168b1b

View file

@ -9,4 +9,6 @@ set -eu
LIBDIR="$(dirname $0)" && . "${LIBDIR}/config"
[ -d "${JAILDIR}" ] || exit 0
#TODO: try if this command works the same :
# find "${JAILDIR}" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'
find "${JAILDIR}" -mindepth 1 -maxdepth 1 -type d|sed 's!.*/!!'