Introduction
Introduction Statistics Contact Development Disclaimer Help
added Ben's password placeholder entry kludge - slock - simple X display locker…
git clone git://git.suckless.org/slock
Log
Files
Refs
README
LICENSE
---
commit 4b4fcca1bc3a05e0a4bb5453dfe6dbd84a54b071
parent c1507cd225a34ef69045cfc20519b16212dba8dd
Author: [email protected] <unknown>
Date: Sun, 15 Apr 2012 11:58:16 +0200
added Ben's password placeholder entry kludge
Diffstat:
M slock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/slock.c b/slock.c
@@ -56,7 +56,7 @@ getpw(void) { /* only run as root */
rval = pw->pw_passwd;
#if HAVE_SHADOW_H
- {
+ if (strlen(rval) >= 1) { /* kludge, assumes pw placeholder entry has l…
struct spwd *sp;
sp = getspnam(getenv("USER"));
if(!sp)
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.