]> arthur.barton.de Git - bup.git/commit
ftp: handle lack of readline in input
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Jul 2020 20:28:11 +0000 (22:28 +0200)
committerRob Browning <rlb@defaultvalue.org>
Wed, 29 Jul 2020 00:53:10 +0000 (19:53 -0500)
commit5ac3821c0f1fbd6a1b1742e91ffd556cd1116041
tree80e00d73cf76db317d946127fc5336622f1073e0
parent2040b6890af45318eb512b4c7f5398e040b1ffe5
ftp: handle lack of readline in input

If we don't have readline, print our prompt and read a line
from stdin instead.

Reported-by: Eric Waguespack <eric.w@guespack.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
lib/cmd/ftp-cmd.py