~ob/slock

ede2935e10fdab76994676d5052b571907612199 — Anselm R Garbe 10 years ago 732d2b3
applied Markus' patch to die in case /etc/passwd is unavailable
1 files changed, 3 insertions(+), 0 deletions(-)

M slock.c
M slock.c => slock.c +3 -0
@@ 228,6 228,9 @@ main(int argc, char **argv) {
	else if(argc != 1)
		usage();

	if(!getpwuid(getuid()))
		die("no passwd entry for you");

#ifndef HAVE_BSD_AUTH
	pws = get_password();
#endif