pid files fixes, ftp server already-running-but-no-control check

This commit is contained in:
Daniel Stenberg
2001-05-14 12:09:47 +00:00
parent e82d2dc634
commit 4677f733b2
3 changed files with 20 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ listen(Server,SOMAXCONN) || die "listen: $!";
#print "FTP server started on port $port\n";
open(PID, ">.ftpserver.pid");
open(PID, ">.ftp.pid");
print PID $$;
close(PID);