dot

packages and services management
Log | Files | Refs | README

commit c3040eb46f0e69b5e8b58987a2a18b432c9631ff
parent 4dbaba82bc157376858df5d784c94407f45c0ba9
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Mon, 26 Jun 2017 14:11:40 +0200

correct number of arguments for pritnf

Diffstat:
MSERVICE | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SERVICE b/SERVICE @@ -55,7 +55,7 @@ then . "$ETC/$srv/start" "$@" >> "$VAR/log/$srv" 2>&1 && pid=$! && cp "/proc/$pid/cmdline" "$VAR/pid/$srv/$pid" - printf '%-15s [started] ' "$srv" "$pid" + printf '%-15s [started] ' "$srv" tr '\0' ' ' < "$VAR/pid/$srv/$pid" printf '\n' fi