diff options
-rw-r--r-- | Changelog | 2 | ||||
-rwxr-xr-x | interimap | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,8 @@ interimap (0.2) upstream; * Set X.509 certificate purpose to 'SSL Server' for SSL_verify=YES. * Display the certificate chain, SSL protocol and cipher in debug mode. + * Bug fix: don't delete the lockfile if another instance of interimap + is running. -- Guilhem Moulin <guilhem@guilhem.org> Wed, 09 Sep 2015 00:44:35 +0200 @@ -130,6 +130,7 @@ $SIG{TERM} = sub { cleanup(); exit 0; }; close $lock; chomp $pid; my $msg = "LOCKFILE '$LOCKFILE' exists."; + undef $LOCKFILE; # don't delete the lockfile $msg .= " (Is PID $pid running?)" if defined $pid and $pid =~ /^[0-9]+$/; die $msg, "\n"; } |