diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/beam/common.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/beam/common.in b/lib/beam/common.in index 7e69640..e99433e 100644 --- a/lib/beam/common.in +++ b/lib/beam/common.in @@ -52,9 +52,9 @@ beam_lock() { if [ -r $backup_pidfile ]; then pid=$(head -n 1 $backup_pidfile) if [ -z "$pid" ]; then - abend "pidfile $backup_pidfile exists but is unreadable or empty" + abend 1 "pidfile $backup_pidfile exists but is unreadable or empty" fi - abend "another beam process (pid $backup_pid) is still running; exiting" + abend 1 "another beam process (pid $pid) is still running; exiting" fi echo $$ > $backup_pidfile || exit 1 epilogue_hook="$epilogue_hook beam_unlock" |