gentooup.sh: more verbose info about lock
This commit is contained in:
parent
5764e60f0e
commit
9a27a6a7f6
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue