From de5c77d4f44d639f3d554830c6e54e73826f2809 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 14 Jan 2013 15:57:52 +0100 Subject: fix 'solv patch' command --- examples/solv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/solv.c b/examples/solv.c index 6218e64..0ef5daa 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -2744,7 +2744,7 @@ main(int argc, char **argv) } queue_free(&repofilter); - if (!job.count && MODE_PATCH) + if (!job.count && mainmode != MODE_PATCH) { printf("no package matched\n"); exit(1); -- cgit v1.2.3