projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35aecbe
)
mergerepo: Exit with error code when a groupfile cannot be copied
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 21 May 2015 13:16:12 +0000
(15:16 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 21 May 2015 13:16:12 +0000
(15:16 +0200)
src/mergerepo_c.c
patch
|
blob
|
history
diff --git
a/src/mergerepo_c.c
b/src/mergerepo_c.c
index
0c028e6
..
e1e6b31
100644
(file)
--- a/
src/mergerepo_c.c
+++ b/
src/mergerepo_c.c
@@
-1683,8
+1683,10
@@
main(int argc, char **argv)
cr_get_filename(cmd_options->groupfile),
NULL);
g_debug("Using user specified groupfile: %s", groupfile);
- } else
- g_warning("Cannot copy groupfile %s", cmd_options->groupfile);
+ } else {
+ g_critical("Cannot copy groupfile %s", cmd_options->groupfile);
+ return 1;
+ }
}
// Load noarch repo