about summary refs log tree commit diff stats
path: root/xxxterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xxxterm.c')
-rw-r--r--xxxterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 8cb9e75..02b5d66 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -3800,7 +3800,7 @@ done:
 	if (s != -1)
 		close(s);
 	stop_tls(gsession, xcred);
-	if (error_str)
+	if (error_str && strlen(error_str))
 		show_oops(t, "%s", error_str);
 	return (0);
 }