From 2ba73fe6df2e492b5c5b0d4ad2062f0007e96490 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Thu, 18 Feb 2010 01:11:07 +0000 Subject: [PATCH] Bugfix in handbrake process status code check Inverted check on handbrake process return status caused rip to report incorrect completion status --- handbrake-cluster-worker.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }