fix: make mounting proc inside wrapper chroot warning-only to support container environments

This commit is contained in:
joshpatra committed 2026-07-08 10:20:17 -04:00
1 parent aa4ce0d5ac
commit 088dbff281
1 file changed
+1 -2
+1 -2
View File
@@ -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");