summaryrefslogtreecommitdiff
path: root/debian/openssh-server.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.init')
-rw-r--r--debian/openssh-server.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.init b/debian/openssh-server.init
index 8c38eedf5..862d117c1 100644
--- a/debian/openssh-server.init
+++ b/debian/openssh-server.init
@@ -75,7 +75,7 @@ adjust_oom() {
75 if [ -e /var/run/sshd.pid ]; then 75 if [ -e /var/run/sshd.pid ]; then
76 PID="$(head -n1 /var/run/sshd.pid)" 76 PID="$(head -n1 /var/run/sshd.pid)"
77 if [ -e "/proc/$PID/oom_adj" ]; then 77 if [ -e "/proc/$PID/oom_adj" ]; then
78 printf '%s' "$SSHD_OOM_ADJUST" >"/proc/$PID/oom_adj" 78 printf '%s' "$SSHD_OOM_ADJUST" >"/proc/$PID/oom_adj" || true
79 fi 79 fi
80 fi 80 fi
81} 81}