Skip to content

Commit

Permalink
fix(backend): warn if corrupt qcow file
Browse files Browse the repository at this point in the history
Previously it died failing, now it complains but
carries on. Thanks to @alticlar for reporting

issue #1090
  • Loading branch information
frankiejol committed May 29, 2019
1 parent 9f5a56d commit 179b491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ravada/Domain/KVM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1652,7 +1652,7 @@ sub _find_base {
run3(\@cmd,\$in, \$out, \$err);

my ($base) = $out =~ m{^backing file: (.*)}mi;
confess "No base for $file in $out" if !$base;
warn "No base for $file in $out" if !$base;

return $base;
}
Expand Down

0 comments on commit 179b491

Please sign in to comment.