diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-09-28 01:14:07 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-09-28 01:14:07 +0200 |
commit | 4a49a170c515b58b33e5bc896fefdaebb3f7ee87 (patch) | |
tree | 8311967e9cb49b76958f25758e809c873cd7b13e /interimap | |
parent | 3f9d8298aa9d21a432a4401c0c547660d80ccd62 (diff) | |
parent | 118fab1a68499eed3ec3f4114ad65208ec747451 (diff) |
Merge branch 'master' into debiandebian/0.2-1
Diffstat (limited to 'interimap')
-rwxr-xr-x | interimap | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"; } @@ -276,7 +277,7 @@ foreach my $name (qw/local remote/) { # # Add a new mailbox to the database. -my $STH_INSERT_MAILBOX= $DBH->prepare(q{INSERT INTO mailboxes (mailbox,subscribed) VALUES (?,?)}); +my $STH_INSERT_MAILBOX = $DBH->prepare(q{INSERT INTO mailboxes (mailbox,subscribed) VALUES (?,?)}); # Get the index associated with a mailbox. my $STH_GET_INDEX = $DBH->prepare(q{SELECT idx,subscribed FROM mailboxes WHERE mailbox = ?}); |