aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-06-11 15:54:31 +0200
committerintrigeri <intrigeri@boum.org>2012-06-11 15:55:24 +0200
commit7af82be3ecf950fd19190d06fb9ad0f3f0aca97a (patch)
treec0e013e74b8a9580497f4c18949dd3566579a4e5
parentb05065625c76c271448f493f515558cbe00b34ac (diff)
downloadbackupninja-7af82be3ecf950fd19190d06fb9ad0f3f0aca97a.tar.gz
backupninja-7af82be3ecf950fd19190d06fb9ad0f3f0aca97a.tar.bz2
Make it clear what lockfile could not be acquired.
-rw-r--r--ChangeLog2
-rwxr-xr-xsrc/backupninja.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f2c9270..faf06dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@ version 1.0 -- UNRELEASED
mysql:
. Use --skip-events when backing up the performance_schema database.
(Closes: #673572)
+ backupninja changes
+ . Make it clear what lockfile could not be acquired, if any.
version 1.0-rc1 -- May 15, 2012
handler changes
diff --git a/src/backupninja.in b/src/backupninja.in
index 0400828..0f74906 100755
--- a/src/backupninja.in
+++ b/src/backupninja.in
@@ -349,7 +349,7 @@ function process_action() {
else
# 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
fi
} 200> $lockfile