summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/20vyatta-cfg
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-09-24 11:31:21 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-09-24 11:31:21 -0700
commit44de464034da0056ffb4fcbe18436624af90004e (patch)
tree8cda9e61905ec0387ef53d79083856087be10572 /etc/bash_completion.d/20vyatta-cfg
parentd1ac6cf18de187322524b702d2a0b2f669638c1c (diff)
downloadvyatta-cfg-44de464034da0056ffb4fcbe18436624af90004e.tar.gz
vyatta-cfg-44de464034da0056ffb4fcbe18436624af90004e.zip
cleanup
* set help string only if available. * use "builtin" explicitly.
Diffstat (limited to 'etc/bash_completion.d/20vyatta-cfg')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index f6b02ce..22178e1 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -683,11 +683,11 @@ vyatta_config_complete ()
if ! vyatta_cli_shell_api setupSession; then
echo 'Failed to set up config session'
- exit 1
+ builtin exit 1
fi
# disallow 'Ctrl-D' exit, since we need special actions on 'exit'
-set -o ignoreeof 1
+builtin set -o ignoreeof 1
reset_edit_level
alias set=/opt/vyatta/sbin/my_set