diff options
-rwxr-xr-x | ch | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -253,6 +253,12 @@ case $command in list) for chrootdir in "$CHROOTS/"*/; do basename "$chrootdir" + for copydir in "$chrootdir/"*/; do + dirname=$(basename "$copydir") + if [[ $dirname != "root" ]]; then + printf " %s\n" "$dirname" + fi + done done ;; *) printf "Unknown command %s\n" "$command";; |