~ob/slock

1766ecdfd4db86e5d022a8fb951559714eb1e6a4 — Markus Teich 5 years ago 9dfe0ce
add hint for suid to oom error message
1 files changed, 1 insertions(+), 1 deletions(-)

M slock.c
M slock.c => slock.c +1 -1
@@ 81,7 81,7 @@ dontkillme(void)
		die("buffer too small\n");

	if (fd < 0 || write(fd, value, length) != length || close(fd) != 0)
		die("cannot disable the out-of-memory killer for this process\n");
		die("cannot disable the out-of-memory killer for this process (make sure to suid or sgid slock)\n");
}
#endif