Skip to content
Snippets Groups Projects
Verified Commit 8d2298b5 authored by Štěpán Henek's avatar Štěpán Henek :bear:
Browse files

mail_notifier: forgot to sleep when acquiring lock

parent 205b77fd
No related branches found
No related tags found
1 merge request!11mail_notifier: forgot to sleep when acquiring lock
......@@ -234,6 +234,7 @@ lock() {
if mkdir "$1" >/dev/null 2>&1 ; then
return
fi
sleep 1
done
echo "Failed to get the lock" >&2
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment