Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Aug 18, 2023
1 parent 9888f83 commit 540647f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/bin/dist-installer-cli
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,8 @@ update_sources(){
#root_cmd ${pkg_mngr_update} 2>&1 || true
#update_sources_error
## result: OK: command_without_extrarenous_spaces="sudo -- apt-get update --yes --error-on=any"
## But if root_cmd is run in a subshell using $(root_cmd ...) then command_without_extrarenous_spaces
## won't be updated.

# shellcheck disable=SC2086
if update_output=$(root_cmd ${pkg_mngr_update} 2>&1 | $console_write_command) ; then
Expand Down

0 comments on commit 540647f

Please sign in to comment.