Revision 1850 trunk/plugins/par2/plugin_par2.c

plugin_par2.c (revision 1850)
1082 1082
        char *filename = list->data;
1083 1083

                
1084 1084
        /* Make sure that the file really is a PAR/PAR2 file. Due to a bug in par2cmdline, regular files might get marked as PAR2 recovery files */
1085
        if (priv->repair_succeeded && !more_par2_sets_remaining_in_collection && opts.auto_remove_files) {
1085
        if (priv->repair_succeeded && !more_par2_sets_remaining_in_collection && opts.auto_remove_files_after_repair) {
1086 1086
            if (verify_par2_extension(filename)) {
1087 1087
                char *path = g_build_filename(directory, filename, NULL);
1088 1088
                ng_plugin_emit_log_msg(plugin_data, NG_LOG_LEVEL_DEBUG, _("Now automatically removing file '%s'"), path);

Also available in: Unified diff