From 7d40a9f96cddcaaed6abc83b54101d8d5eeeeb60 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 5 May 2011 16:25:48 +0800 Subject: clean up when committing no changes (cherry picked from commit 113b5ee593fd3196e2b1c828c3dd82032758e492) --- etc/bash_completion.d/vyatta-cfg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'etc') 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 } -- cgit v1.2.3