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.init6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/openssh-server.init b/debian/openssh-server.init
index a1cc67797..75ea71525 100644
--- a/debian/openssh-server.init
+++ b/debian/openssh-server.init
@@ -21,6 +21,12 @@ if test -f /etc/default/ssh; then
21 . /etc/default/ssh 21 . /etc/default/ssh
22fi 22fi
23 23
24# Are we in a virtual environment that doesn't support modifying
25# /proc/self/oom_adj?
26if grep -q 'envID:.*[1-9]' /proc/self/status; then
27 unset SSHD_OOM_ADJUST
28fi
29
24. /lib/lsb/init-functions 30. /lib/lsb/init-functions
25 31
26if [ -n "$2" ]; then 32if [ -n "$2" ]; then