diff --git a/src/maomao.c b/src/maomao.c index 52d049c..13f72b5 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -6104,6 +6104,10 @@ void setup(void) { } void spawn(const Arg *arg) { + + if(!arg->v) + return; + if (fork() == 0) { // 1. 忽略可能导致 coredump 的信号 signal(SIGSEGV, SIG_IGN);