diff --git a/hook/nsenter.sh b/hook/nsenter.sh index 13cba06..0a2f1ae 100644 --- a/hook/nsenter.sh +++ b/hook/nsenter.sh @@ -6,6 +6,10 @@ _script_path_this=$(realpath "$(ps -p $$ -o args= 2>/dev/null | awk '{print $2}')") _latter="${_script_path_this#/apps/data}" +if [[ -z "$APPS_DATA" ]]; then + runc_name=$(grep devices