summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mdbp/mmdebstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdbp/mmdebstrap.py b/mdbp/mmdebstrap.py
index c2bf9d4..6555d3f 100644
--- a/mdbp/mmdebstrap.py
+++ b/mdbp/mmdebstrap.py
@@ -26,7 +26,7 @@ def unshare_network() -> None:
if libc.unshare(0x40000000) < 0:
raise OSError("unshare() failed", ctypes.get_errno())
-def set_uids(username):
+def set_uids(username: str) -> None:
"""Look up the given user in /etc/passwd (e.g. after chroot) and drop
privileges to this user."""
with open("/etc/passwd", "r") as f: