mirror of
https://tildegit.org/solene/iblock.git
synced 2024-11-22 02:00:02 +01:00
fix duplicate processes
This commit is contained in:
parent
29a5701dee
commit
0662ac5bfa
2
main.c
2
main.c
@ -162,6 +162,8 @@ main(int argc, char *argv[])
|
|||||||
runcmd(bancmd[0], bancmd);
|
runcmd(bancmd[0], bancmd);
|
||||||
syslog(LOG_DAEMON, "kill states for %s", ip);
|
syslog(LOG_DAEMON, "kill states for %s", ip);
|
||||||
runcmd(killstatecmd[0], killstatecmd);
|
runcmd(killstatecmd[0], killstatecmd);
|
||||||
|
close(sockfd);
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(sockfd);
|
close(sockfd);
|
||||||
|
Loading…
Reference in New Issue
Block a user