forked from evolix/evobackup
bkctld-list: note for later, try a simpler command
This commit is contained in:
parent
6cf49b2a8b
commit
9ae2168b1b
|
@ -9,4 +9,6 @@ set -eu
|
||||||
LIBDIR="$(dirname $0)" && . "${LIBDIR}/config"
|
LIBDIR="$(dirname $0)" && . "${LIBDIR}/config"
|
||||||
|
|
||||||
[ -d "${JAILDIR}" ] || exit 0
|
[ -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!.*/!!'
|
find "${JAILDIR}" -mindepth 1 -maxdepth 1 -type d|sed 's!.*/!!'
|
||||||
|
|
Loading…
Reference in a new issue