commit 78e1b1534eee00add345f2ca2f5fe95f73d97d3a
parent a45719c7a4b1b67446393f747d0dff71ace33097
Author: ccx <ccx@te2000.cz>
Date: Sun, 19 May 2024 23:14:54 +0000
Get status for PID 1
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/service_scripts/generic/run b/service_scripts/generic/run
@@ -69,7 +69,7 @@ ns_run_unshared data/root {
/mnt/ns/bin/applyuidgid-caps -U $CONTAINER_CAPS
/mnt/ns/bin/busybox env HOME=${CONTAINER_USER_HOME} USER=${CONTAINER_USER}
/mnt/ns/bin/foreground {
- cat /proc/self/status
+ cat /proc/1/status
}
/mnt/ns/bin/foreground {
cat /proc/self/mountinfo