Commit 695b6364 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Pass along exit value from rungenilib so that apt_gitrepo.hook does

not send email when its a python error.
parent b175ee02
......@@ -946,7 +946,9 @@ sub UpdateProfileFromRepo()
if ($?) {
print STDERR $output;
$profile->Unlock();
fatal("$RUNGENILIB failed");
print STDERR "$RUNGENILIB failed\n";
# Pass along the exit value.
exit($? >> 8);
}
$rspec = $output;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment