summaryrefslogtreecommitdiffstats
path: root/core/rootfs/rootfs-stage32/data/opt/openslx/bin/penv
diff options
context:
space:
mode:
Diffstat (limited to 'core/rootfs/rootfs-stage32/data/opt/openslx/bin/penv')
-rwxr-xr-xcore/rootfs/rootfs-stage32/data/opt/openslx/bin/penv7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/rootfs/rootfs-stage32/data/opt/openslx/bin/penv b/core/rootfs/rootfs-stage32/data/opt/openslx/bin/penv
deleted file mode 100755
index 5d0c8dc7..00000000
--- a/core/rootfs/rootfs-stage32/data/opt/openslx/bin/penv
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/ash
-
-[ "$#" -ne "1" ] && echo "Usage: $0 PID" && exit 1
-[ ! -e "/proc/$1/environ" ] && echo "No such process: $1" && exit 1
-[ ! -r "/proc/$1/environ" ] && echo "Cannot open process: $1" && exit 1
-sed 's/\x0/\n/g' "/proc/$1/environ" | grep -E --color=auto '^[^=]*'
-