Bugfix in handbrake process status code check

Inverted check on handbrake process return status caused rip to report
incorrect completion status
This commit is contained in:
Ben Roberts
2010-02-18 01:11:07 +00:00
parent 4f7fd4307a
commit 2ba73fe6df

View File

@@ -131,7 +131,7 @@ sub do_rip {
waitpid($child_pid, 0);
my $child_exit_status = $? >> 8;
if (!$child_exit_status) {
if ($child_exit_status) {
$log->warning("Ripping process returned error status: $child_exit_status");
return undef;
}