mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
chroot: fix args.user (MR 2252)
config.user and args.user are distinct, don't combine them. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
bc0b6e39e8
commit
3473422639
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ def init(args: PmbArgs) -> PmbArgs:
|
|||
|
||||
# Override config at runtime with command line arguments
|
||||
for key, _ in vars(config).items():
|
||||
if key.startswith("_"):
|
||||
if key.startswith("_") or key == "user":
|
||||
continue
|
||||
value = getattr(args, key, None)
|
||||
if value:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue