diff --git a/transport-helper.c b/transport-helper.c
index 6ece0d9875652e5d648be7e18ddf2084c564fc12..ca8fa92e638e2589e2b6b8ffbe21ac824b5274a5 100644 (file)
--- a/transport-helper.c
+++ b/transport-helper.c
char buf[16];
int n;
int v = t->verbose;
- int no_progress = v < 0 || (!t->progress && !isatty(1));
+ int no_progress = v < 0 || (!t->progress && !isatty(2));
set_helper_option(t, "progress", !no_progress ? "true" : "false");