Skip to content

Commit

Permalink
Print command in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanformigoni committed May 2, 2024
1 parent d6ad2e8 commit 6a6f46f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/_boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1165,9 +1165,11 @@ function _exec()
# Run in contained environment
if [[ "$FIM_BACKEND" = "bwrap" ]]; then
_msg "Using bubblewrap"
_msg "bwrap: ${_cmd_bwrap[*]}"
eval "${_cmd_bwrap[*]}"
elif [[ "$FIM_BACKEND" = "proot" ]]; then
_msg "Using proot"
_msg "proot: ${_cmd_proot[*]}"
eval "${_cmd_proot[*]}"
# Run outside container
elif [[ "$FIM_BACKEND" = "host" ]]; then
Expand Down

0 comments on commit 6a6f46f

Please sign in to comment.