diff options
author | Michael Schroeder <mls@suse.de> | 2013-01-14 15:57:52 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-01-14 15:57:52 +0100 |
commit | de5c77d4f44d639f3d554830c6e54e73826f2809 (patch) | |
tree | d20ba193e866fa9f9e1f37597b2696e75a2bf270 /examples | |
parent | b746354f4cd0ef51a155241369de1f804f5f756c (diff) | |
download | libsolv-de5c77d4f44d639f3d554830c6e54e73826f2809.tar.gz libsolv-de5c77d4f44d639f3d554830c6e54e73826f2809.tar.bz2 libsolv-de5c77d4f44d639f3d554830c6e54e73826f2809.zip |
fix 'solv patch' command
Diffstat (limited to 'examples')
-rw-r--r-- | examples/solv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |