]> arthur.barton.de Git - bup.git/commit
cmd/ftp: exit cleanly on Ctrl-C
authorGabriel Filion <lelutin@gmail.com>
Tue, 27 Jul 2010 17:28:49 +0000 (13:28 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 27 Jul 2010 18:15:12 +0000 (14:15 -0400)
commit28fa92f1462f41c1072773c83183d32ca508979e
tree4e1022bcf825a735b080f4fb0e2d5ba426e17c1a
parentbfec086203ba7469b2a6b9cbceb4deecd5a8cfb3
cmd/ftp: exit cleanly on Ctrl-C

bup ftp currently does not handle KeyboardInterrupt exceptions.

Simply call handle_ctrl_c() at the beginning of the file to make the
command exit without a stacktrace.
cmd/ftp-cmd.py