Indentation Fixment in bin/mkchroot.in

Indentation Fixment in bin/mkchroot.in
This commit is contained in:
Batuhan Osman Taşkaya 2018-01-09 21:14:42 +03:00 committed by Bernhard Landauer
parent 8c4e64d2da
commit 225ace7417

View file

@ -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