Previously, read_directive_file always returned zero or did not return.
We now return an operation list that will eventually replace the global
%info hash.
fatal("gpg verification problem: could not extract timestamp",1);
}
- return 0;
+ return $ops;
}
sub automake_tests {
}
}
# set up the %info variable
- my $retval = read_directive_file ($directive_file,
+ my $oplist = read_directive_file ($directive_file,
$upload_file,
$directive_only);
- if ($retval == 0) {
+ if ($oplist) {
# do the work
execute_commands({directive => $directive_file, upload => $upload_file,
sig => $sig_file, directive_only => $directive_only},