Add make install error handle
This commit is contained in:
parent
cd1117a7a2
commit
f15b14b821
|
@ -207,7 +207,7 @@ function install_service_on_systemd() {
|
||||||
function install_service() {
|
function install_service() {
|
||||||
if is_using_systemd; then
|
if is_using_systemd; then
|
||||||
install_service_on_systemd
|
install_service_on_systemd
|
||||||
else
|
elif $(which update-rc.d &> /dev/null); then
|
||||||
install_service_on_sysvinit
|
install_service_on_sysvinit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue