Commit Diff


commit - 807f9f76ec91cbe5308b2866540b163b1380ea35
commit + a4e4dd0f5eeb9188bc733636831fba9179ec0809
blob - d0fb02568541ba91a104790a815542411b737ba9
blob + bcc3f1c6d04a33b9cd6f90d24fbfd31ff6786c00
--- lib/dial.c
+++ lib/dial.c
@@ -284,9 +284,9 @@ got_dial_ssh(pid_t *newpid, int *newfd, const char *ho
 		argv[i++] = "-p";
 		argv[i++] = (char *)port;
 	}
-	if (verbosity == -1) {
+	if (verbosity <= 0) {
 		argv[i++] = "-q";
-	} else {
+	} else if (verbosity > 1) {
 		/* ssh(1) allows up to 3 "-v" options. */
 		for (j = 0; j < MIN(3, verbosity); j++)
 			argv[i++] = "-v";