From 9728388043af86fefee64336c584f5132273c9bc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 8 Dec 2012 15:47:37 -0500 Subject: make the messages while waiting for a chroot lock more helpful --- src/chroot-tools/librechroot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/chroot-tools/librechroot') diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index cacdfcd..89fb644 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -112,7 +112,8 @@ main() { # Keep this lock as long as we are running # Note that '9' is the same FD number as in (mk)archroot - lock_open_write 9 "$copydir" "Locking chroot copy '$CHROOTCOPY'" + lock_open_write 9 "$copydir" \ + "Waiting for existing lock on \`$copydir' to be released" if [[ ! -d $rootdir ]]; then libremkchroot "$CHROOT" -- cgit v1.2.3-54-g00ecf