Skip to content

Commit c7b16e2

Browse files
committed
remove non-deterministic output in quiet mode
1 parent 7b5c2b6 commit c7b16e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

C/cli/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ int main(int argc, char * argv[]) {
562562
printf("ERROR connecting to %s: %s (%d)\n", hostname, SQCloudErrorMsg(conn), SQCloudErrorCode(conn));
563563
return -1;
564564
} else {
565-
printf("Connection to %s:%d OK...\n\n", hostname, port);
565+
if (!quiet) printf("Connection to %s:%d OK...\n\n", hostname, port);
566566
}
567567

568568
// load history file

0 commit comments

Comments
 (0)