summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive3
1 files changed, 2 insertions, 1 deletions
diff --git a/draklive b/draklive
index af7649d..fc46457 100755
--- a/draklive
+++ b/draklive
@@ -522,7 +522,8 @@ sub create_initrd_scriptlet {
"umount /sys",
"umount /proc",
"pivot_root $target $target/initrd",
- q(sh -c 'rmdir /initrd/live/union; cd /initrd/live; for i in `ls -1`; do mkdir -p /live/$i; mount -n --move $i /live/$i; rmdir $i; done; rmdir /initrd/live'),
+ q(sh -c 'rmdir /initrd/live/union),
+ q(sh -c 'cd /initrd/live; for i in `ls -1`; do mkdir -p /live/$i; mount -n --move $i /live/$i; rmdir $i; done; rmdir /initrd/live'),
if_($live->{system}{initrd_post}, deref_array($live->{system}{initrd_post})),
""));
}