X-Git-Url: https://git.xinqibao.xyz/slock.git/blobdiff_plain/9dfe0ce531023bf63c0e518b07ee97cf0cac742a..1766ecdfd4db86e5d022a8fb951559714eb1e6a4:/slock.c diff --git a/slock.c b/slock.c index df2d3c6..fa7ec84 100644 --- a/slock.c +++ b/slock.c @@ -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