mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Return show error on failure
This commit is contained in:
parent
e7c5239c8c
commit
e160c01d57
1 changed files with 1 additions and 1 deletions
|
@ -1979,7 +1979,7 @@ install_ubuntu_git_post() {
|
|||
echowarn "Upstart does not appear to know about salt-$fname"
|
||||
echodebug "Copying ${__SALT_GIT_CHECKOUT_DIR}/pkg/salt-$fname.upstart to $_upstart_conf"
|
||||
copyfile "${__SALT_GIT_CHECKOUT_DIR}/pkg/salt-${fname}.upstart" $_upstart_conf
|
||||
/sbin/initctl reload-configuration
|
||||
/sbin/initctl reload-configuration || return 1
|
||||
fi
|
||||
# No upstart support in Ubuntu!?
|
||||
elif [ -f "${__SALT_GIT_CHECKOUT_DIR}/debian/salt-${fname}.init" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue