=== modified file 'sbin/snap.lvm2' --- sbin/snap.lvm2 2015-12-15 11:59:18 +0000 +++ sbin/snap.lvm2 2015-12-15 11:52:13 +0000 @@ -13,10 +13,7 @@ LOCKDIR=/var/lock/snaprep test -d "$LOCKDIR" || mkdir -p "$LOCKDIR" || exit $? LOCKFILE="$LOCKDIR/lvm2.${SRC//\//-}" -if ! flock -n "$LOCKFILE"; then - echo >&2 "locked: $SRC" - exit 1 -fi +# exec 3> "$LOCKFILE" || exit $? ( flock -n 3 || exit $? echo $$ >&3