From b67065bfb57b072dd1c344eedabfbb545eae6629 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 15 May 2021 12:28:19 +0200 Subject: [PATCH] quick fix: put temp file into lock, should switch to session_lock functions --- therapies/update_therapy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/therapies/update_therapy.sh b/therapies/update_therapy.sh index c72d040..e084e6d 100755 --- a/therapies/update_therapy.sh +++ b/therapies/update_therapy.sh @@ -21,7 +21,7 @@ tpy="$(POST id)" tpyfile="$_DATA/therapies/${tpy}.tpy" -tempfile="$_DATA/temp/${tpy}.$$.tpy" +tempfile="$_DATA/lock/${tpy}.$$.tpy" if [ "$(POST tid)" != "$(transid "$tpyfile")" ]; then if [ "$(POST autosubmit)" = "true" ]; then -- 2.39.2