about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xxxterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index eba1841..ad43a2a 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -7682,7 +7682,7 @@ main(int argc, char **argv)
 			warn("setrlimit");
 		if (getrlimit(RLIMIT_NOFILE, &rlp) == -1)
 			warn("getrlimit");
-		else if (rlp.rlim_cur <= 1024)
+		else if (rlp.rlim_cur < 1024)
 			startpage_add("%s requires at least 1024 "
 			    "(2048 recommended) file " "descriptors, "
 			    "currently it has up to %d available",