mirror of
https://github.com/eddyem/tsys01.git
synced 2026-03-20 16:50:57 +03:00
replace old files
This commit is contained in:
@@ -72,8 +72,6 @@ static void logT(_U_ int signo){
|
||||
int main(int argc, char **argv){
|
||||
initial_setup();
|
||||
G = parse_args(argc, argv);
|
||||
if(G->rest_pars_num)
|
||||
openlogfile(G->rest_pars[0]);
|
||||
if(G->makegraphs && !G->savepath){
|
||||
ERRX(_("Point the path to graphical files"));
|
||||
}
|
||||
@@ -95,6 +93,8 @@ int main(int argc, char **argv){
|
||||
return 1;
|
||||
}
|
||||
if(runningproc) ERRX("Found running process, pid=%d.", runningproc);
|
||||
if(G->rest_pars_num)
|
||||
openlogfile(G->rest_pars[0]);
|
||||
// ignore almost all possible signals
|
||||
for(int sig = 0; sig < 256; ++sig) signal(sig, repsig);
|
||||
signal(SIGTERM, signals); // kill (-15) - quit
|
||||
|
||||
0
src/netdaemon/plot
Executable file → Normal file
0
src/netdaemon/plot
Executable file → Normal file
Reference in New Issue
Block a user