mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-10-01 04:45:34 -04:00
improve flock error message
This commit is contained in:
parent
50570dc8a1
commit
2120e77103
@ -5,7 +5,7 @@ set -o errexit -o nounset -o pipefail
|
||||
touch lock
|
||||
exec {fd}< lock
|
||||
if ! flock -n $fd; then
|
||||
echo deploy_static already locked >&2
|
||||
echo already processing/deploying static files >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -11,7 +11,7 @@ else
|
||||
fi
|
||||
|
||||
if ! flock -n $fd; then
|
||||
echo deploy_static already locked >&2
|
||||
echo already processing/deploying static files >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user