diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-03-13 16:26:51 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-03-15 12:48:33 -0400 |
commit | 10975c723ed0c5a6764fda3d4f539a36033dcb0d (patch) | |
tree | 15d36bffb2ac490a095ae66a2b4f04bf28860986 /exec.h | |
parent | 56a862fded43b528eadc232d37a8684b48ef702c (diff) | |
download | bfs-10975c723ed0c5a6764fda3d4f539a36033dcb0d.tar.xz |
exec: Warn if a command dies abnormally
Diffstat (limited to 'exec.h')
-rw-r--r-- | exec.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,8 +36,6 @@ enum bfs_exec_flags { BFS_EXEC_CHDIR = 1 << 1, /** Pass multiple files at once to the command (-exec ... {} +). */ BFS_EXEC_MULTI = 1 << 2, - /** Print debugging information (-D exec). */ - BFS_EXEC_DEBUG = 1 << 3, }; /** @@ -47,6 +45,8 @@ struct bfs_exec { /** Flags for this exec buffer. */ enum bfs_exec_flags flags; + /** The overall command line. */ + const struct cmdline *cmdline; /** Command line template. */ char **tmpl_argv; /** Command line template size. */ |