]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
Fix "Snapper is not creating the post snapshot" (bsc#1160938)
authorMartin Vidner <mvidner@suse.cz>
Thu, 16 Jan 2020 12:42:40 +0000 (13:42 +0100)
committerMartin Vidner <mvidner@suse.cz>
Thu, 16 Jan 2020 12:44:39 +0000 (13:44 +0100)
It is an embarrassing case of a forgotten debugging printf, which throws
the communication protocol out of sync.

zypp-plugin/snapper_zypp_plugin.cc

index bd7ed27e48f0d45989f342a3dd6b63e7e8135862..7db0e7a87ece001dcb35862b84ac069888312846 100644 (file)
@@ -302,7 +302,6 @@ set<string> SnapperZyppPlugin::get_solvables(const Message& msg, Phase phase) {
 
     if (json_object_get_type(steps) == json_type_array) {
        size_t i, len = json_object_array_length(steps);
-       printf("steps: %zu\n", len);
        for (i = 0; i < len; ++i) {
            json_object * step = json_object_array_get_idx(steps, i);
            bool have_type = json_object_object_get_ex(step, "type", NULL);