mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
refactor: remove duplicated usage for nohop and ending with '&'
This commit is contained in:
@@ -194,7 +194,7 @@ remove_firewall_start(){
|
||||
|
||||
daemon() {
|
||||
local binname="$(basename "${1}")"
|
||||
nohup $@ &> ${mbroot}/var/log/${binname}.log &
|
||||
$@ &> ${mbroot}/var/log/${binname}.log &
|
||||
return $?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user