summaryrefslogtreecommitdiff
blob: df2ce5a38514330228ed5edc94d8ba05dbc89826 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/slock.c
+++ b/slock.c
@@ -81,7 +81,7 @@
 		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 (make sure to suid or sgid slock)\n");
+		fprintf(stderr, "cannot disable the out-of-memory killer for this process.\n");
 }
 #endif