refactor: remove duplicated usage for nohop and ending with '&'

This commit is contained in:
Fred Liang
2020-05-26 21:44:18 +08:00
parent 7383b5e6c9
commit b60fbdd92c
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ remove_firewall_start(){
daemon() {
local binname="$(basename "${1}")"
nohup $@ &> ${mbroot}/var/log/${binname}.log &
$@ &> ${mbroot}/var/log/${binname}.log &
return $?
}