summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/bash_completion.d/20vyatta-cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 4e809ea..f116554 100644
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -60,7 +60,8 @@ show ()
save ()
{
- eval "sudo ${vyatta_sbindir}/vyatta-save-config.pl $@"
+ eval "sudo sg quaggavty \
+ \"umask 0002 ; ${vyatta_sbindir}/vyatta-save-config.pl $@\""
}
declare vyatta_cfg_prompt_level=''