git://project.juiblex.co.uk
/
razor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8a81336
)
Return if we fail to open root.
author
Kristian Høgsberg
<krh@redhat.com>
Sat, 21 Jun 2008 02:26:41 +0000 (22:26 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Sat, 21 Jun 2008 02:26:41 +0000 (22:26 -0400)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
40e7674
..
914e8a8
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-674,6
+674,9
@@
command_install(int argc, const char *argv[])
}
root = razor_root_open(install_root);
+ if (root == NULL)
+ return 1;
+
system = razor_root_get_system_set(root);
upstream = razor_set_open(rawhide_repo_filename);
trans = razor_transaction_create(system, upstream);