From 9a27a6a7f659cbb876760312e91d6707951f822b Mon Sep 17 00:00:00 2001 From: layman Date: Tue, 24 Jan 2023 17:55:06 +0100 Subject: [PATCH] gentooup.sh: more verbose info about lock --- gentooup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gentooup.sh b/gentooup.sh index 8a05709..8af4a31 100755 --- a/gentooup.sh +++ b/gentooup.sh @@ -2,10 +2,12 @@ LOCKFILE=/usr/portage/gentooup.lock exec {FD_LOCK}<>"$LOCKFILE" +echo "Try to acquire lock for $LOCKFILE" if ! flock -x -w 60 "$FD_LOCK" ; then echo "Could not acquire lock for $LOCKFILE" exit 1 fi +echo "Lock acquired" PORTAGE_OPTIONS=("--keep-going" "--autounmask-write" "--binpkg-changed-deps=y" "--autounmask-continue")