Do not abuse macro for debugging
authorRicardo Mones <ricardo@mones.org>
Tue, 20 Sep 2016 17:25:41 +0000 (19:25 +0200)
committerRicardo Mones <ricardo@mones.org>
Tue, 20 Sep 2016 17:25:41 +0000 (19:25 +0200)
src/main.c

index 5c15a62f20bb49e0baf866454a0313611f873e38..ee58a3fbc6614588f81ac0450f445ff383a6d3a9 100644 (file)
@@ -424,7 +424,8 @@ backup_mode:
                
                /* if g_rename failed, we'll try to copy */
                if (r != 0) {
-                       FILE_OP_ERROR(new_cfg_dir, "g_rename failed, trying copy\n");
+                       FILE_OP_ERROR(new_cfg_dir, "g_rename");
+                       debug_print("rename failed, trying copy\n");
                        goto backup_mode;
                }
        }