Add make install error handle

This commit is contained in:
hzcheng 2019-07-16 17:04:10 +08:00
parent cd1117a7a2
commit f15b14b821
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ function install_service_on_systemd() {
function install_service() {
if is_using_systemd; then
install_service_on_systemd
else
elif $(which update-rc.d &> /dev/null); then
install_service_on_sysvinit
fi
}