diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-13 15:32:35 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-13 15:32:35 -0800 |
commit | 10f1fb8bdfb9efedb269dbe3225102dbf992a8cf (patch) | |
tree | 7c7a95e710d023d12ddf8a054ebfb351ef9fa46b /eval.c | |
parent | e4cd0a0d691924ac2e6d664f7e59a48aef722279 (diff) | |
download | vyatta-bash-10f1fb8bdfb9efedb269dbe3225102dbf992a8cf.tar.gz vyatta-bash-10f1fb8bdfb9efedb269dbe3225102dbf992a8cf.zip |
fix for bug 2604: shell accepts '!' by default
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -223,6 +223,8 @@ parse_command () send_pwd_to_eterm (); /* Yuck */ } + vyatta_reset_hist_expansion(); + current_command_line_count = 0; r = yyparse (); @@ -236,6 +238,8 @@ parse_command () current_readline_line[1] = '\0'; return 1; } + } else if (interactive && current_readline_line) { + vyatta_check_expansion(global_command); } #endif |