Skip to content
Snippets Groups Projects
Commit 7af82be3 authored by intrigeri's avatar intrigeri
Browse files

Make it clear what lockfile could not be acquired.

parent b0506562
Branches
No related tags found
No related merge requests found
...@@ -3,6 +3,8 @@ version 1.0 -- UNRELEASED ...@@ -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() { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment