aboutsummaryrefslogtreecommitdiffstats
path: root/init/subsys.c
diff options
context:
space:
mode:
authorturret <turret@duck.com>2024-01-18 19:24:14 -0600
committerturret <turret@duck.com>2024-01-18 19:24:14 -0600
commit9a3149aba0214d514b57a53af6d019ae191ecab6 (patch)
treef8c51f3629e3fe34b4df2f864701a1e21f6c3121 /init/subsys.c
parentf28c6d72b0de0471407860be12ed97ca198a480b (diff)
downloaddiscord-bot-skeleton-9a3149aba0214d514b57a53af6d019ae191ecab6.tar.gz
discord-bot-skeleton-9a3149aba0214d514b57a53af6d019ae191ecab6.tar.bz2
discord-bot-skeleton-9a3149aba0214d514b57a53af6d019ae191ecab6.zip
all: remove defunct prints
Diffstat (limited to 'init/subsys.c')
-rw-r--r--init/subsys.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/init/subsys.c b/init/subsys.c
index c3fe903..704678f 100644
--- a/init/subsys.c
+++ b/init/subsys.c
@@ -45,9 +45,6 @@ static int __subsystem_entry(struct subsystem_info *info)
static sigset_t set;
sigprocmask(SIG_SETMASK, &set, NULL);
- print(LOG_DEBUG "subsys: starting subsystem %s (%d)",
- info->fn_name, getpid());
-
int ret = info->fn();
return ret;
@@ -86,9 +83,6 @@ int subsystem_handle_term(int pid)
if(!subsystem || subsystem->pid != pid)
continue;
- print(LOG_DEBUG "subsys: subsystem terminated %s (%d)",
- subsystem->fn_name, pid);
-
if(subsystem->mode == PANICMODE_RESPAWN
&& subsystem->respawn_count < MAX_RESPAWN) {
++(subsystem->respawn_count);