redirect oneshots too
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
de5f640323
commit
0bfb6df3e1
2
ssm
2
ssm
|
@ -204,7 +204,7 @@ super_start() {
|
||||||
return 5
|
return 5
|
||||||
fi
|
fi
|
||||||
elif (( service_oneshot )); then
|
elif (( service_oneshot )); then
|
||||||
"${service_command[@]}"; res=$?
|
"${service_command[@]}" &>"$service_logfile"; res=$?
|
||||||
(( $res )) && return "$res"
|
(( $res )) && return "$res"
|
||||||
printf '1' > "$service_enabled_flag"
|
printf '1' > "$service_enabled_flag"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user