mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Log unlink() error
This commit is contained in:
parent
dd44cccefe
commit
7b83071708
@ -1,5 +1,6 @@
|
||||
Version 2.02.89 -
|
||||
==================================
|
||||
Log unlink() error in cmirrord remove_lockfile().
|
||||
Remove incorrect requirement for -j or -m from lvchange error message.
|
||||
Fix unsafe table load when splitting off smaller mirror from a larger one.
|
||||
Use size_t return type for text_vg_export_raw() and export_vg_to_buffer().
|
||||
|
@ -121,7 +121,8 @@ static void process_signals(void)
|
||||
|
||||
static void remove_lockfile(void)
|
||||
{
|
||||
unlink(CMIRRORD_PIDFILE);
|
||||
if (unlink(CMIRRORD_PIDFILE))
|
||||
LOG_ERROR("Unable to remove \"" CMIRRORD_PIDFILE "\" %s", strerror(errno));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user