summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2008-08-27 10:28:56 -0700
committerslioch <slioch@eng-140.vyatta.com>2008-08-27 10:28:56 -0700
commitdc6a7a5657b06a8058f559adb6b486dfcaf483ec (patch)
treed6580c5a7558683d8631e5a46fbbe7e7b05e8ff3
parent227acb909745307bfe5d28e202de02f6c9101714 (diff)
downloadvyatta-bash-dc6a7a5657b06a8058f559adb6b486dfcaf483ec.tar.gz
vyatta-bash-dc6a7a5657b06a8058f559adb6b486dfcaf483ec.zip
disable shell interpretation of ![num] when entering configure commands. this fixes a bug where the negation character in nat/firewall/wlb
commands required user escaping.
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 0997406..e9323c8 100644
--- a/parse.y
+++ b/parse.y
@@ -1992,6 +1992,7 @@ shell_getc (remove_quoted_newline)
c == '>' ||
c == '<' ||
c == '|' ||
+ c == '!' ||
c == '`' ||
c == '$') &&
shell_input_line[i-1] != '\\') {