]> git.plutz.net Git - lobster/commitdiff
quick fix: put temp file into lock, should switch to session_lock functions
authorPaul Hänsch <paul@plutz.net>
Sat, 15 May 2021 10:28:19 +0000 (12:28 +0200)
committerPaul Hänsch <paul@plutz.net>
Sat, 15 May 2021 10:28:19 +0000 (12:28 +0200)
therapies/update_therapy.sh

index c72d0408de3af39e0c5606a72f7f9476e460c25f..e084e6ddc9e7dfe361e625f44c541fdf62fd2cda 100755 (executable)
@@ -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