Browse Source

Remove debug messages

Serj Kalichev 4 months ago
parent
commit
9970e0a308
1 changed files with 3 additions and 3 deletions
  1. 3 3
      klish/ksession/kexec.c

+ 3 - 3
klish/ksession/kexec.c

@@ -471,13 +471,13 @@ static bool_t exec_action_sync(const kexec_t *exec, kcontext_t *context,
 	// Only last in pipeline stage can be silent because last stage
 	// has bufout
 	if (ksym_silent(sym) && kcontext_is_last_pipeline_stage(context)) {
-fprintf(stderr, "silent %s\n", ksym_name(sym));
+//fprintf(stderr, "silent %s\n", ksym_name(sym));
 		exitcode = fn(context);
 		if (retcode)
 			*retcode = exitcode;
 		return BOOL_TRUE;
 	}
-fprintf(stderr, "sync %s\n", ksym_name(sym));
+//fprintf(stderr, "sync %s\n", ksym_name(sym));
 
 	// Create pipes beetween sym function and grabber
 	if (pipe(pipe_stdout) < 0)
@@ -574,7 +574,7 @@ static bool_t exec_action_async(const kexec_t *exec, kcontext_t *context,
 	sigset_t sigs;
 
 	fn = ksym_function(kaction_sym(action));
-fprintf(stderr, "Async %s\n", ksym_name(kaction_sym(action)));
+//fprintf(stderr, "Async %s\n", ksym_name(kaction_sym(action)));
 
 	// Oh, it's amazing world of stdio!
 	// Flush buffers before fork() because buffer content will be inherited