|
@@ -166,8 +166,8 @@ void fatal(const char *s, int recoverable)
|
|
|
killsock(dcc[i].sock);
|
|
killsock(dcc[i].sock);
|
|
|
|
|
|
|
|
if (!recoverable) {
|
|
if (!recoverable) {
|
|
|
- if (conf.bot && conf.bot->pid_file)
|
|
|
|
|
- unlink(conf.bot->pid_file);
|
|
|
|
|
|
|
+// if (conf.bot && conf.bot->pid_file)
|
|
|
|
|
+// unlink(conf.bot->pid_file);
|
|
|
exit(1);
|
|
exit(1);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -345,7 +345,7 @@ static void dtx_arg(int argc, char *argv[])
|
|
|
case 'U':
|
|
case 'U':
|
|
|
if (optarg) {
|
|
if (optarg) {
|
|
|
update_bin = strdup(optarg);
|
|
update_bin = strdup(optarg);
|
|
|
- updating = i == 'u' ? 1 : 2; /* use 2 if 'U' to not kill/spawn bots. */
|
|
|
|
|
|
|
+ updating = (i == 'u' ? 1 : 2); /* use 2 if 'U' to not kill/spawn bots. */
|
|
|
break;
|
|
break;
|
|
|
} else
|
|
} else
|
|
|
exit(0);
|
|
exit(0);
|