forked from mirrored-repos/manjaro-tools
Indentation Fixment in bin/mkchroot.in
Indentation Fixment in bin/mkchroot.in
This commit is contained in:
parent
8c4e64d2da
commit
225ace7417
1 changed files with 5 additions and 5 deletions
|
@ -82,11 +82,11 @@ umask 0022
|
||||||
lock 9 "${working_dir}.lock" "Locking chroot"
|
lock 9 "${working_dir}.lock" "Locking chroot"
|
||||||
|
|
||||||
if is_btrfs "$working_dir"; then
|
if is_btrfs "$working_dir"; then
|
||||||
rmdir "$working_dir"
|
rmdir "$working_dir"
|
||||||
if ! btrfs subvolume create "$working_dir"; then
|
if ! btrfs subvolume create "$working_dir"; then
|
||||||
die "Couldn't create subvolume for '%s'" "$working_dir"
|
die "Couldn't create subvolume for '%s'" "$working_dir"
|
||||||
fi
|
fi
|
||||||
chmod 0755 "$working_dir"
|
chmod 0755 "$working_dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Workaround when creating a chroot in a branch different of the host
|
# Workaround when creating a chroot in a branch different of the host
|
||||||
|
|
Loading…
Reference in a new issue