add more info to the log to ease debugging
This commit is contained in:
parent
44985e8884
commit
a0fe950b75
@ -142,9 +142,11 @@ startsf();
|
|||||||
|
|
||||||
logmsg sprintf("FTP server started on port IPv%d/$port\n", $ipv6?6:4);
|
logmsg sprintf("FTP server started on port IPv%d/$port\n", $ipv6?6:4);
|
||||||
open(PID, ">$pidfile");
|
open(PID, ">$pidfile");
|
||||||
print PID $$;
|
print PID $$."\n";
|
||||||
close(PID);
|
close(PID);
|
||||||
|
|
||||||
|
logmsg("logged pid $$ in $pidfile\n");
|
||||||
|
|
||||||
sub sockfilt {
|
sub sockfilt {
|
||||||
my $l;
|
my $l;
|
||||||
foreach $l (@_) {
|
foreach $l (@_) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user