Revision 1850 trunk/plugins/unpack/plugin_unpack.c

plugin_unpack.c (revision 1850)
352 352
    while (list) {
353 353
        char *path = list->data;
354 354

                
355
        if (ret && opts.auto_remove_files) {
355
        if (ret && opts.auto_remove_files_after_unpack) {
356 356
            ng_plugin_emit_log_msg(plugin_data, NG_LOG_LEVEL_DEBUG, _("Now automatically removing file '%s'"), path);
357 357
            g_unlink(path);
358 358
        }

Also available in: Unified diff