diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-01-29 22:11:18 +0100 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-01-29 22:11:18 +0100 |
commit | 1766ecdfd4db86e5d022a8fb951559714eb1e6a4 (patch) | |
tree | 695297fa4fe20a770e47948f69bea35aae928d89 | |
parent | 9dfe0ce531023bf63c0e518b07ee97cf0cac742a (diff) | |
download | slock-1766ecdfd4db86e5d022a8fb951559714eb1e6a4.tar.gz slock-1766ecdfd4db86e5d022a8fb951559714eb1e6a4.tar.xz |
add hint for suid to oom error message
-rw-r--r-- | slock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |