aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-03-31 19:38:56 -0500
committerRob Landley <rob@landley.net>2018-03-31 19:38:56 -0500
commite16c181f5869db5148410af39719128ec925923b (patch)
treeeffcbb664681b15e3884ce3c6019312405de8ef2
parent01b5fb007cb0259c78574d90b59f83bba13f46eb (diff)
downloadtoybox-e16c181f5869db5148410af39719128ec925923b.tar.gz
Remove semicolon from WOULD_EXIT() macro (screws up if statement levels).
-rw-r--r--lib/lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.h b/lib/lib.h
index d2005e08..609210ac 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -347,7 +347,7 @@ pid_t __attribute__((returns_twice)) xvforkwrap(pid_t pid);
if (!_noexit_res) do {x;} while(0); \
toys.rebound = 0; \
y = _noexit_res; \
-} while(0);
+} while(0)
// Wrapper that discards true/false "did it exit" value.
#define NOEXIT(x) WOULD_EXIT(_noexit_res, x)