Skip to content

Commit

Permalink
do not fail anymore for get_virtualization
Browse files Browse the repository at this point in the history
    not needing to handle that anymore as we are not failing if not
    virtualization available.
  • Loading branch information
grass committed Nov 18, 2022
1 parent 3b6efbe commit 513d6e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions usr/bin/installer-dist
Expand Up @@ -860,9 +860,7 @@ pre_check(){
if ! get_system_stat && test "${dry_run}" = "1"; then
log info "Skipping failing get_system_stat() because dry_run is set."
fi
if ! get_virtualization && test "${dry_run}" = "1"; then
log info "Skipping failing get_virtualization() because dry_run is set."
fi
get_virtualization
if test "${dry_run}" = "1"; then
log info "Skipping rest or pre_check() because dry_run is set."
return 0
Expand Down

0 comments on commit 513d6e3

Please sign in to comment.