diff --git a/handbrake-cluster-worker.pl b/handbrake-cluster-worker.pl index d1e1224..b58813e 100755 --- a/handbrake-cluster-worker.pl +++ b/handbrake-cluster-worker.pl @@ -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; }