=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-agent.c,v retrieving revision 1.210 retrieving revision 1.211 diff -u -r1.210 -r1.211 --- src/usr.bin/ssh/ssh-agent.c 2015/12/11 02:29:03 1.210 +++ src/usr.bin/ssh/ssh-agent.c 2015/12/11 17:41:37 1.211 @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.210 2015/12/11 02:29:03 dtucker Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.211 2015/12/11 17:41:37 doug Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -1384,7 +1384,7 @@ signal(SIGTERM, cleanup_handler); nalloc = 0; - if (pledge("stdio cpath unix exec proc", NULL) != 0) + if (pledge("stdio cpath unix id proc exec", NULL) == -1) fatal("%s: pledge: %s", __progname, strerror(errno)); while (1) {