diff --git a/modules/filesystem/btrfs/btrfs.mod b/modules/filesystem/btrfs/btrfs.mod index 475b2f1..55989ca 100644 --- a/modules/filesystem/btrfs/btrfs.mod +++ b/modules/filesystem/btrfs/btrfs.mod @@ -97,7 +97,7 @@ find_subvolumes() { sudo /bin/find "$dir" -mindepth 1 -maxdepth $dep -type d -exec bash -c ' for d do subv=$(basename $d) - sudo '$BTRFS_BIN' subvolume show "$subv" >/dev/null 2>&1 && printf "%s\n" "$subv" + sudo '$BTRFS_BIN' subvolume show "$d" >/dev/null 2>&1 && printf "%s\n" "$subv" done' find-sh {} + }