LVM2/lib/format_text archiver.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-01-05 15:06:10
Modified files:
lib/format_text: archiver.c
Log message:
Add sys_debug loging for unlink
This unlink intentionally silently ignores any errors. It's still worth to trace its error status in debug mode.
lib/format_text/archiver.c +3 -1
@@ -261,7 +261,9 @@/* * Let this fail silently. */ -unlink (path); +if (unlink (path)) +log_sys_debug ("unlink" , path); +return 1 ; }