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")