From 42e9bdef0c3a53599cd7c5c16839c3d37cdbd498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 16 Apr 2024 21:28:33 +0200 Subject: [PATCH] Ignore root partition on mount as it's statically defined --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index d92acbc..55f5704 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -71,7 +71,7 @@ load_vars() { grep 'Jail list:' | sed 's/.*Jail list://' | sed 's/,//g')" readonly mount_parts="$(mount | cut -d' ' -f3 | - grep -E -v '^/run|^/dev|^/proc|^/sys|^/snap')" + grep -E -v '^/run|^/dev|^/proc|^/sys|^/snap|^/$')" app_data_dirs="$(echo /home/yunohost.app/*)" readonly home_user_dirs="$(echo /home/* | home_dir_filter)" readonly net_gateway="$(ip --json route show default | jq -r '.[0].dev')"