diff options
author | Rob Landley <rob@landley.net> | 2018-03-31 19:38:56 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-03-31 19:38:56 -0500 |
commit | e16c181f5869db5148410af39719128ec925923b (patch) | |
tree | effcbb664681b15e3884ce3c6019312405de8ef2 /lib | |
parent | 01b5fb007cb0259c78574d90b59f83bba13f46eb (diff) | |
download | toybox-e16c181f5869db5148410af39719128ec925923b.tar.gz |
Remove semicolon from WOULD_EXIT() macro (screws up if statement levels).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |