Unify Linux namespace operations

This commit is contained in:
Vladimir Dubrovin committed 2026-10-12 18:18:27 +03:00
1 parent f1b8d30799
commit cc19bbff6d
10 files changed
+70 -109

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ int start_proxy_thread(struct child * chp){
#endif
if((res = mainprepare(chp->argc, (char **)chp->argv, &service))) {
fprintf(stderr, "Service not started on line: %d%s\n", linenum, res == 2? ": insufficient memory": res == 3? ": too many filters":"");
fprintf(stderr, "Service not started on line: %d%s\n", linenum, res == 2? ": insufficient memory": res == 3? ": too many filters": res == 4? ": network namespace unavailable":"");
return(40);
}
_3proxy_mutex_lock(&runningservices_mutex);