summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 96b2517..4f09735 100644
--- a/src/main.c
+++ b/src/main.c
@@ -439,9 +439,12 @@ command_update(int argc, const char *argv[])
}
}
- errors = razor_transaction_resolve(trans);
- if (errors)
+ razor_transaction_resolve(trans);
+ errors = razor_transaction_describe(trans);
+ if (errors) {
+ fprintf(stderr, "unresolved dependencies\n");
return 1;
+ }
set = razor_transaction_finish(trans);
razor_set_write(set, updated_repo_filename);