Suicide prevention with corrupt Lockfile

This commit is contained in:
s-ol 2017-04-04 16:19:10 +02:00
parent b8d8b4810c
commit 531a4786f0

View File

@ -1356,7 +1356,7 @@ u3_unix_acquire(c3_c* pax_c)
kill(getpid(), SIGTERM);
sleep(1); c3_assert(0);
}
else {
else if (pid_w != getpid()) {
c3_w i_w;
if ( -1 != kill(pid_w, SIGTERM) ) {