mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-09-20 07:31:41 +02:00
Make it clear what lockfile could not be acquired.
This commit is contained in:
parent
b05065625c
commit
7af82be3ec
@ -3,6 +3,8 @@ version 1.0 -- UNRELEASED
|
|||||||
mysql:
|
mysql:
|
||||||
. Use --skip-events when backing up the performance_schema database.
|
. Use --skip-events when backing up the performance_schema database.
|
||||||
(Closes: #673572)
|
(Closes: #673572)
|
||||||
|
backupninja changes
|
||||||
|
. Make it clear what lockfile could not be acquired, if any.
|
||||||
|
|
||||||
version 1.0-rc1 -- May 15, 2012
|
version 1.0-rc1 -- May 15, 2012
|
||||||
handler changes
|
handler changes
|
||||||
|
@ -349,7 +349,7 @@ function process_action() {
|
|||||||
|
|
||||||
else
|
else
|
||||||
# a backup is probably ongoing already, so display an error message
|
# a backup is probably ongoing already, so display an error message
|
||||||
debug "failed to acquire lock"
|
debug "failed to acquire lock $lockfile"
|
||||||
echo "Fatal: Could not acquire lock $lockfile. A backup is probably already running for $file." >>$bufferfile
|
echo "Fatal: Could not acquire lock $lockfile. A backup is probably already running for $file." >>$bufferfile
|
||||||
fi
|
fi
|
||||||
} 200> $lockfile
|
} 200> $lockfile
|
||||||
|
Loading…
Reference in New Issue
Block a user