Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix logic: complain about adding more jobs *after* the solver has run, rather than before.
Matthew Seaman committed 13 years ago
commit adc0dbaa102d0ec2976310b73ba723a9a949385f
parent ea8fa166aaf5524c42b13398648470a452b2e189
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -104,7 +104,7 @@ pkg_jobs_add(struct pkg_jobs *j, match_t match, char **argv, int argc)
{
	struct job_pattern *jp;

-
	if (!j->solved) {
+
	if (j->solved) {
		pkg_emit_error("The job has already been solved. "
		    "Impossible to append new elements");
		return (EPKG_FATAL);