From be9870f75a84291f3469b84124050e4b2b979fd5 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 28 Aug 2013 12:46:22 +0200 Subject: [PATCH] initrd.scripts: trivial, fix setup_squashfs_aufs code style --- defaults/initrd.scripts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 7db094d..aa39825 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1126,7 +1126,9 @@ setup_squashfs_aufs() { [ ! -d "${NEW_ROOT}${overlay}" ] && mkdir -p "${NEW_ROOT}${overlay}" [ ! -d "${NEW_ROOT}${static}" ] && mkdir -p "${NEW_ROOT}${static}" echo "aufs / aufs defaults 0 0" > "${NEW_ROOT}"/etc/fstab - for i in "${overlay}" "${static}"; do mount --move "${i}" "${NEW_ROOT}${i}"; done + for i in "${overlay}" "${static}"; do + mount --move "${i}" "${NEW_ROOT}${i}" + done # have handy /mnt/cdrom (CDROOT_PATH) as well local new_cdroot="${NEW_ROOT}${CDROOT_PATH}"