summaryrefslogtreecommitdiffstats
path: root/slock.c
diff options
context:
space:
mode:
Diffstat (limited to 'slock.c')
-rw-r--r--slock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/slock.c b/slock.c
index a165a5e..888dbd1 100644
--- a/slock.c
+++ b/slock.c
@@ -281,6 +281,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
case XK_Escape:
explicit_bzero(&passwd, sizeof(passwd));
len = 0;
+ failure = 0;
break;
case XK_BackSpace:
if (len)