tFix return status of servekey() to be an error - safe - password protected secret keeper
HTML git clone git://git.z3bra.org/safe.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7958db741782dcf11e3eae3b0b45efe69b81fa82
DIR parent cb5cd138e476c31fdc7436f797b095b2e460bdf5
HTML Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 23 Aug 2019 13:57:24 +0200
Fix return status of servekey() to be an error
Diffstat:
M safe-agent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/safe-agent.c b/safe-agent.c
t@@ -212,7 +212,7 @@ servekey(int timeout)
/* NOTREACHED */
close(sfd);
- return 0;
+ return -1;
}
int