artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8c2dd
)
Switch logic from != to ==. Makes the code easier to read.
author
claudio
<claudio@openbsd.org>
Thu, 8 Apr 2021 17:07:55 +0000
(17:07 +0000)
committer
claudio
<claudio@openbsd.org>
Thu, 8 Apr 2021 17:07:55 +0000
(17:07 +0000)
usr.sbin/rpki-client/main.c
patch
|
blob
|
history
diff --git
a/usr.sbin/rpki-client/main.c
b/usr.sbin/rpki-client/main.c
index
8957889
..
a290203
100644
(file)
--- a/
usr.sbin/rpki-client/main.c
+++ b/
usr.sbin/rpki-client/main.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: main.c,v 1.13
3 2021/04/08 16:32:42
claudio Exp $ */
+/* $OpenBSD: main.c,v 1.13
4 2021/04/08 17:07:55
claudio Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@
-1044,9
+1044,9
@@
main(int argc, char *argv[])
if (pid == -1) {
if (errno == EINTR)
continue;
- if (errno
!
= ECHILD)
-
err(1, "wait")
;
-
break
;
+ if (errno
=
= ECHILD)
+
break
;
+
err(1, "wait")
;
}
if (pid == procpid)