summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/initrd/btrfs-create.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/initrd/btrfs-create.sh b/src/initrd/btrfs-create.sh
index 952d25f..26fa263 100644
--- a/src/initrd/btrfs-create.sh
+++ b/src/initrd/btrfs-create.sh
@@ -137,6 +137,7 @@ make_subvolume_idem()
137 rmdir "$1" || mv "$1" "$1"~ 137 rmdir "$1" || mv "$1" "$1"~
138 btrfs subvolume create "$1" 138 btrfs subvolume create "$1"
139 mv "$1"~/* "$1"~/.* "$1"/ 2>&1 139 mv "$1"~/* "$1"~/.* "$1"/ 2>&1
140 rmdir "$1"~
140 else 141 else
141 if [ -e "$1" ]; then 142 if [ -e "$1" ]; then
142 rm -f "$1" 143 rm -f "$1"