diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-14 12:41:51 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-14 12:41:51 -0500 |
commit | 4fdc29a88b9923d874375c72774a01a91a7fc253 (patch) | |
tree | a47f14cf14c7467f7d41b6a107e0d23b6f50afcc /eval.c | |
parent | 35bc722cbc22a054cf7843676dcd7667cc364480 (diff) | |
download | bfs-4fdc29a88b9923d874375c72774a01a91a7fc253.tar.xz |
Add brief -help and -version support.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -568,6 +568,10 @@ static int infer_fdlimit() { * Evaluate the command line. */ int eval_cmdline(const struct cmdline *cmdline) { + if (!cmdline->expr) { + return 0; + } + int nopenfd = infer_fdlimit(); struct callback_args args = { |