mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-10-08 14:05:02 -04:00
fix: make mounting proc inside wrapper chroot warning-only to support container environments
This commit is contained in:
1 file changed
+1
-2
@@ -173,8 +173,7 @@ int main(int argc, char* argv[], char* envp[]) {
|
||||
}
|
||||
|
||||
if (mount("proc", "/proc", "proc", 0, NULL) != 0) {
|
||||
fprintf(stderr, "wrapper: mount proc: %s\n", strerror(errno));
|
||||
return 1;
|
||||
fprintf(stderr, "wrapper: mount proc warning: %s\n", strerror(errno));
|
||||
}
|
||||
|
||||
const char* base_dir = getenv("WRAPPER_BASE_DIR");
|
||||
|
||||
Reference in new issue
Block a user