commit d3f9e2c7fb637a3a5fda06a09f4d00c409e87a0a
parent 2acefe4ce778c31c5ff4c82ca107a889d7e812d9
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Thu, 22 Feb 2024 07:23:52 +0100
Fix path encoding
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/userns_sandbox.py b/userns_sandbox.py
@@ -122,8 +122,8 @@ def mount(
"""
if (
_mount(
- c_path(source.encode),
- c_path(target.encode),
+ c_path(source),
+ c_path(target),
fstype.encode(),
int(flags),
data.encode() if data is not None else data,