1 |
commit: 0cf3703a4f7a4bebd0cc660690434a7bcffd507a |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 28 18:21:24 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 28 18:21:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=0cf3703a |
7 |
|
8 |
qlop: avoid warning about -s when specifying an atom |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
qlop.c | 3 ++- |
13 |
1 file changed, 2 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/qlop.c b/qlop.c |
16 |
index 12c66a6..08ea479 100644 |
17 |
--- a/qlop.c |
18 |
+++ b/qlop.c |
19 |
@@ -930,7 +930,8 @@ int qlop_main(int argc, char **argv) |
20 |
{ |
21 |
m.do_merge = 1; |
22 |
m.do_unmerge = 1; |
23 |
- m.do_sync = 1; |
24 |
+ if (array_cnt(atoms) == 0) |
25 |
+ m.do_sync = 1; |
26 |
m.do_time = 1; |
27 |
} |