Loading tests/ftpserver.pl +4 −3 Original line number Diff line number Diff line Loading @@ -128,11 +128,12 @@ sub startsf { open(STDOUT, ">&SFWRITE") || die "can't dup client to stdout"; } startsf(); # remove the file here so that if startsf() fails, it is very noticable unlink(".ftp$ftpdnum.pid"); logmsg sprintf("FTP server started on port IPv%d/$port\n", $ipv6?6:4); startsf(); logmsg sprintf("FTP server started on port IPv%d/$port\n", $ipv6?6:4); open(PID, ">.ftp$ftpdnum.pid"); print PID $$; close(PID); Loading Loading
tests/ftpserver.pl +4 −3 Original line number Diff line number Diff line Loading @@ -128,11 +128,12 @@ sub startsf { open(STDOUT, ">&SFWRITE") || die "can't dup client to stdout"; } startsf(); # remove the file here so that if startsf() fails, it is very noticable unlink(".ftp$ftpdnum.pid"); logmsg sprintf("FTP server started on port IPv%d/$port\n", $ipv6?6:4); startsf(); logmsg sprintf("FTP server started on port IPv%d/$port\n", $ipv6?6:4); open(PID, ">.ftp$ftpdnum.pid"); print PID $$; close(PID); Loading