Skip to content

Commit

Permalink
no longer hardcode path to /usr/sbin/chroot in clean_chroot function
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Apr 25, 2024
1 parent 221a31b commit 5f10d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grml-debootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ clean_chroot() {
local chroot_command=("${@:2}")

# Run chroot, then env -i with the specified environment variables inside the chroot
/usr/sbin/chroot "$chroot_dir" /usr/bin/env -i "${env_vars[@]}" "${chroot_command[@]}"
chroot "$chroot_dir" /usr/bin/env -i "${env_vars[@]}" "${chroot_command[@]}"
}
# }}}

Expand Down

0 comments on commit 5f10d52

Please sign in to comment.