commit | 8c3a5cf71d7abab2d2d31a7b28005f48bdc10c54 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Sat Nov 24 04:51:18 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Sat Nov 24 04:55:14 2012 +0400 |
tree | 92bde8ff48df9ec18057df9ce9a32951d526b5d8 | |
parent | b59b873dbf602c2ab2d6248eef149c220d28d0ba [diff] |
etc/init.d/vz*: only apply oom score if file exist OOM score adjustment is only available in RHEL6-based kernel. Check that proc file exist before trying to write to it. http://bugzilla.openvz.org/2423 Reported-by: Tom P <tomp@tomp.co.uk> Signed-off-by: Kir Kolyshkin <kir@openvz.org>