summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-18 11:25:16 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-18 11:32:11 -0700
commit5414692efe92a9fb87cbcb374493102bca7424bc (patch)
treeeb62b179aed6658a74479b208de27dbfe95e3b58 /shell.c
parentf726fb8698b59328fae9842a88e8a054ccddb45c (diff)
downloadvyatta-bash-5414692efe92a9fb87cbcb374493102bca7424bc.tar.gz
vyatta-bash-5414692efe92a9fb87cbcb374493102bca7424bc.zip
Shell command logging support
Log command exit to message queue for use by command logging daemons.
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell.c b/shell.c
index 1aac510..09b3cfd 100644
--- a/shell.c
+++ b/shell.c
@@ -703,6 +703,8 @@ main (argc, argv, env)
/* Initialize terminal state for interactive shells after the
.bash_profile and .bashrc are interpreted. */
get_tty_state ();
+
+ initialize_logging();
}
#if !defined (ONESHOT)