forked from mirrored-repos/manjaro-tools
Merge pull request #279 from BTaskaya/master
Indentation Fixment in bin/mkchroot.in
This commit is contained in:
commit
7ca3b8784f
1 changed files with 5 additions and 5 deletions
|
@ -90,11 +90,11 @@ umask 0022
|
|||
lock 9 "${working_dir}.lock" "Locking chroot"
|
||||
|
||||
if is_btrfs "$working_dir"; then
|
||||
rmdir "$working_dir"
|
||||
if ! btrfs subvolume create "$working_dir"; then
|
||||
die "Couldn't create subvolume for '%s'" "$working_dir"
|
||||
fi
|
||||
chmod 0755 "$working_dir"
|
||||
rmdir "$working_dir"
|
||||
if ! btrfs subvolume create "$working_dir"; then
|
||||
die "Couldn't create subvolume for '%s'" "$working_dir"
|
||||
fi
|
||||
chmod 0755 "$working_dir"
|
||||
fi
|
||||
|
||||
for file in "${files[@]}"; do
|
||||
|
|
Loading…
Reference in a new issue