redirect oneshots too

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2016-11-17 12:26:23 +03:00
parent de5f640323
commit 0bfb6df3e1

2
ssm
View File

@ -204,7 +204,7 @@ super_start() {
return 5
fi
elif (( service_oneshot )); then
"${service_command[@]}"; res=$?
"${service_command[@]}" &>"$service_logfile"; res=$?
(( $res )) && return "$res"
printf '1' > "$service_enabled_flag"
else