Skip to content

Commit f850229

Browse files
2 parents 6402a1c + 17fc1b1 commit f850229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ do_second_stage() {
199199
local chroot_dir=$1
200200
local arch=$2
201201
do_qemu_user_emulation
202-
do_chroot_ae "$chroot_dir" "/debootstrap/debootstrap --second-stage"
202+
do_chroot_ae "$chroot_dir" /debootstrap/debootstrap --second-stage
203203
}
204204

205205
do_qemu_user_emulation() {
@@ -217,7 +217,7 @@ do_chroot_ae() {
217217
do_mount "$chroot_dir"
218218
if [ -d "$chroot_dir" ]; then
219219
(
220-
$SUDO chroot "$chroot_dir" "$command"
220+
$SUDO chroot "$chroot_dir" $command
221221
) || warn "Couldn't chroot or exited with non zero..."
222222
else
223223
die "chroot directory doesn't exist: $chroot_dir"

0 commit comments

Comments
 (0)