sm

sysmgr implemented in C
git clone git://git.ckyln.com/sm
Log | Files | Refs | README | LICENSE

commit 83d41391e4dd5ce72a39328466648124100a309c
parent 5c997dc11316c52b86bab86b854b5c39baa2ac22
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat, 10 Oct 2020 14:18:44 +0300

sysmgr.c: forgot to remove those printf calls

Diffstat:
Msysmgr.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/sysmgr.c b/sysmgr.c @@ -46,13 +46,10 @@ term(int sig) char realfile[PATH_MAX]; sprintf(realfile, "%s/%s", rundir, ent->d_name); - printf("%s\n", ent->d_name); - if (strncmp(ent->d_name, ".", 1) == 0 || strcmp(ent->d_name, "pid") == 0) continue; - printf("%s\n", ent->d_name); struct service sv; sv_init(&sv, ent->d_name); pid_t pid = getsyspid(&sv);