diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-05-05 16:25:48 +0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-05-10 09:25:13 +0800 |
commit | 7d40a9f96cddcaaed6abc83b54101d8d5eeeeb60 (patch) | |
tree | 9e0e0faa0660f1a1b0e8b2bf92ef3d2d89ae557c /etc | |
parent | 491b4c361f3a612835e76604fbd751e6e6905c3d (diff) | |
download | vyatta-cfg-7d40a9f96cddcaaed6abc83b54101d8d5eeeeb60.tar.gz vyatta-cfg-7d40a9f96cddcaaed6abc83b54101d8d5eeeeb60.zip |
clean up when committing no changes
(cherry picked from commit 113b5ee593fd3196e2b1c828c3dd82032758e492)
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bash_completion.d/vyatta-cfg | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg index d59f7bd..0a62267 100755 --- a/etc/bash_completion.d/vyatta-cfg +++ b/etc/bash_completion.d/vyatta-cfg @@ -126,9 +126,7 @@ commit () args+=("-C '$comment'") export COMMIT_VIA=cli - if /opt/vyatta/sbin/my_commit "${args[@]}"; then - vyatta_cli_shell_api markSessionUnsaved - fi + /opt/vyatta/sbin/my_commit "${args[@]}" unset COMMIT_VIA } |