Timeline for Correct locking in shell scripts?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 13, 2015 at 13:28 | comment | added | ziggestardust | +1 on that! I will take this under consideration and modify my script. | |
| Jun 13, 2015 at 12:40 | comment | added | maxschlepzig | Unlike Tim Kennedy's ansatz, your script DOES contain a race condition. This is because your checking of the presence of the PIDFILE and its conditional creation is not done in an atomic operation. | |
| Jun 13, 2015 at 10:23 | review | Late answers | |||
| Jun 13, 2015 at 11:36 | |||||
| Jun 13, 2015 at 10:09 | history | edited | ziggestardust | CC BY-SA 3.0 | added 65 characters in body |
| Jun 13, 2015 at 10:08 | review | First posts | |||
| Jun 13, 2015 at 12:03 | |||||
| Jun 13, 2015 at 10:03 | history | answered | ziggestardust | CC BY-SA 3.0 |