diff --git a/bin/ftpdrb b/bin/ftpdrb index 6d5dc32..7c8864e 100755 --- a/bin/ftpdrb +++ b/bin/ftpdrb @@ -210,7 +210,7 @@ module FTPDrb puts "FTP server started. Press ENTER or c-C to stop it" $stdout.flush begin - gets + @server.join rescue Interrupt puts "Interrupt" end