From: Paul Hänsch Date: Sat, 15 May 2021 10:28:19 +0000 (+0200) Subject: quick fix: put temp file into lock, should switch to session_lock functions X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=b67065bfb57b072dd1c344eedabfbb545eae6629;p=lobster quick fix: put temp file into lock, should switch to session_lock functions --- 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