From a6df5b7cfd9c6f9f591c2d0bb5f6e9bcfbaaa8a4 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 21 Jun 2008 09:47:05 +0000 Subject: Clarify documentation of SSHD_OOM_ADJUST, and make setting it to the empty string actually skip adjustment as intended (closes: #487325). --- sshd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index ac539d6bb..9097d71ad 100644 --- a/sshd.c +++ b/sshd.c @@ -921,7 +921,7 @@ oom_adjust_startup(void) { const char *oom_adj = getenv("SSHD_OOM_ADJUST"); - if (!oom_adj) + if (!oom_adj || !*oom_adj) return; oom_adj_get(oom_adj_save, sizeof(oom_adj_save)); oom_adj_set(oom_adj); -- cgit v1.2.3