Fix a few minor bugs
This commit is contained in:
parent
dda262bddb
commit
3667b76cf3
3
rowbot
3
rowbot
|
@ -92,7 +92,6 @@ run_callbacks() {
|
||||||
shift
|
shift
|
||||||
|
|
||||||
while IFS= read -r; do
|
while IFS= read -r; do
|
||||||
log_debug "running callback %s" "$REPLY"
|
|
||||||
"$REPLY" "$@"
|
"$REPLY" "$@"
|
||||||
(( status |= $? ))
|
(( status |= $? ))
|
||||||
done < <(compgen -A function "$filter")
|
done < <(compgen -A function "$filter")
|
||||||
|
@ -882,7 +881,7 @@ on_init_sysfacts() {
|
||||||
"Cron and screen make the best process manager."
|
"Cron and screen make the best process manager."
|
||||||
)
|
)
|
||||||
|
|
||||||
plugin_reg sysfacts get_sysfact
|
plugin_reg sysfact get_sysfact
|
||||||
}
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|
Loading…
Reference in New Issue