sysmgr

a simplistic service supervisor (deprecated)
git clone git://git.ckyln.com/~cem/sysmgr.git
Log | Files | Refs | README | LICENSE

commit b2b5e34de84aa3ec6167c26f2740c57cfae67db9
parent 80aa2288b215a3938eafed6500d3a9710f981059
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 10 Jun 2020 09:12:32 +0300

sysmgr: simpler message functions

Diffstat:
Msysmgr | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysmgr b/sysmgr @@ -16,8 +16,8 @@ ########################################################### -out() { printf '%s\n' "$@" >&2 ;} -log() { out "$@" 2>&1 ;} +log() { printf '%s\n' "$@" ;} +out() { log "$@" >&2 ;} error() { printf 'error: %s\n' "$@" >&2 ;} die() { error "$@" "exiting..." ; exit 1;}