From cc2a00364fe95df5719c4f9c70cbd632166f582e Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 21 Jun 2024 11:36:08 -1000 Subject: [PATCH] SCP: Avoid extra newline output in full SHOW VERSION output --- scp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scp.c b/scp.c index 1fd3930b..e5f1aa1a 100644 --- a/scp.c +++ b/scp.c @@ -7324,7 +7324,7 @@ if (flag) { pclose (f); if (proc_name[0] != '\0') fprintf (st, "\n Processor Name: %s", proc_name); - if ((arch[0] != '\0') || (procs[0] != '\0') || (cores[0] != '\0')); + if ((arch[0] != '\0') || (procs[0] != '\0') || (cores[0] != '\0')) fprintf (st, "\n "); if (arch[0] != '\0') fprintf (st, "Architecture: %s", arch);