From dbc0e73cece53890a32b4f51e55ba1e12b6b5305 Mon Sep 17 00:00:00 2001 From: hydeonz <90251169+hydeonz@users.noreply.github.com> Date: Tue, 3 Sep 2024 17:34:12 +0300 Subject: [PATCH] Update main.rs --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2709728..73a13bb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ use structs::*; use config::*; use utils::*; -static GET_ID_CMD : &'static str = "cat /proc/self/mountinfo | grep '/docker/containers/' | head -1 | awk -F '/' '{print $5}'"; +static GET_ID_CMD : &'static str = "cat /proc/self/mountinfo | grep '/docker/containers/' | head -1 | awk -F '/' '{print $6}'"; #[tokio::main(flavor = "multi_thread")] @@ -89,4 +89,4 @@ fn get_container_id() -> Option { None }, } -} \ No newline at end of file +}