summaryrefslogtreecommitdiffstats
path: root/lib/command_execute.h
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-09-06 23:43:26 +0100
committerChris Hall <chris.hall@highwayman.com>2011-09-06 23:43:26 +0100
commit44b5aa5ca8b8a1620478c794dae11a7d71e9211e (patch)
tree00e10e01b36e4452173ffd15c7b1a5ec42dfbc0c /lib/command_execute.h
parent1c1a79f1119c8bc898fb96ec385381f61841d7a1 (diff)
downloadquagga-44b5aa5ca8b8a1620478c794dae11a7d71e9211e.tar.bz2
quagga-44b5aa5ca8b8a1620478c794dae11a7d71e9211e.tar.xz
Further improvements to "pipework".ex19p
Version advanced to 0.99.18ex19p. Fixed occasional failure to immediately display prompt after previous command output was abandonned by ^C, particularly with "--more--". Completely removed the "~" temporary prompt, and simplified some logic. Added indication of pthread running to "show version".
Diffstat (limited to 'lib/command_execute.h')
-rw-r--r--lib/command_execute.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command_execute.h b/lib/command_execute.h
index 97033b6e..df86154c 100644
--- a/lib/command_execute.h
+++ b/lib/command_execute.h
@@ -44,7 +44,8 @@ enum cmd_exec_state
exec_open_pipes, /* open pipes on command line */
exec_execute, /* execute standard command */
exec_special, /* execute special command */
- exec_done_cmd, /* command has completed */
+ exec_cmd_done, /* command completed somehow */
+ exec_cmd_success, /* command completed successfully */
exec_hiatus, /* while issues are dealt with */
exec_stopped, /* command loop has stopped */
} ;