]> arthur.barton.de Git - bup.git/blobdiff - main.py
Add DemuxConn and `bup mux` for client-server
[bup.git] / main.py
diff --git a/main.py b/main.py
index 196f6937d51609e0c6b341baa951ae21fdf51e61..3d56ed49f44018adebf326d7e5432f55b9a903f4 100755 (executable)
--- a/main.py
+++ b/main.py
@@ -128,7 +128,7 @@ if not os.path.exists(subcmd[0]):
     usage()
 
 already_fixed = atoi(os.environ.get('BUP_FORCE_TTY'))
-if subcmd_name in ['ftp', 'help']:
+if subcmd_name in ['mux', 'ftp', 'help']:
     already_fixed = True
 fix_stdout = not already_fixed and os.isatty(1)
 fix_stderr = not already_fixed and os.isatty(2)