From f290d39b96196cb7174ce1ca07eea0ba3478c409 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sat, 1 Aug 2020 14:10:23 +0200 Subject: [PATCH] typo, using local variable for salt-call --- bin/initDesktop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/initDesktop b/bin/initDesktop index 463ebd3..371789b 100755 --- a/bin/initDesktop +++ b/bin/initDesktop @@ -70,12 +70,12 @@ function setup_dotfiles(){ } function do_salt_call(){ - alias salt='sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@"' + local salt="sudo salt-call --local --file-root $HOME/salt/states --pillar-root $HOME/salt/pillars" new_log "Running salt high state" if asktobreak;then return fi - salt state.apply + $salt state.apply } setup_dotfiles