From: intrigeri Date: Mon, 11 Jun 2012 13:54:31 +0000 (+0200) Subject: Make it clear what lockfile could not be acquired. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7af82be3ecf950fd19190d06fb9ad0f3f0aca97a;p=backupninja.git Make it clear what lockfile could not be acquired. --- 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