Skip to content
Snippets Groups Projects
Commit 9b63730d authored by Timo Teräs's avatar Timo Teräs
Browse files

state: fix previous commit to show OK when everything is ok

parent 9dc60e8d
No related branches found
No related tags found
No related merge requests found
......@@ -712,7 +712,7 @@ int apk_state_commit(struct apk_state *state,
if (!(apk_flags & APK_SIMULATE) && prog.done.packages != 0)
apk_db_write_config(db);
if (r != 0)
if (r == 0)
apk_message("OK: %d packages, %d dirs, %d files",
db->installed.stats.packages,
db->installed.stats.dirs,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment