commit aa5b18e25764291a1b23976fad0bb49182daba75
parent 2386c1066e87c78bb6d611135236bbb2dae9daba
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Thu, 11 Dec 2025 21:27:49 +0000
remove superfluous getenv call
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lns-lockdown_main.c b/src/lns-lockdown_main.c
@@ -104,7 +104,7 @@ void pivot_and_umount(
unex->count++;
sa_mtp.len = oldroot_len;
- if (!stralloc_catenv0(&sa_mtp, getenv_dienotset(env_name))) {
+ if (!stralloc_catenv0(&sa_mtp, env_name)) {
strerr_diefu1sys(111, "store mount path");
}
if (sa_mtp.s[oldroot_len] != '/') {