From 10975c723ed0c5a6764fda3d4f539a36033dcb0d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 13 Mar 2020 16:26:51 -0400 Subject: exec: Warn if a command dies abnormally --- exec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exec.h') diff --git a/exec.h b/exec.h index 78cdbd2..ab3f59a 100644 --- a/exec.h +++ b/exec.h @@ -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. */ -- cgit v1.2.3