Fix: cannot run 'pmbootstrap config' when specified device doesn't exist (#689)
This commit is contained in:
parent
4db27a2d91
commit
7a519a911e
|
@ -330,7 +330,7 @@ def arguments():
|
|||
"find_aport": {}})
|
||||
|
||||
# Add and verify the deviceinfo (only after initialization)
|
||||
if args.action != "init":
|
||||
if args.action not in ("init", "config"):
|
||||
setattr(args, "deviceinfo", pmb.parse.deviceinfo(args))
|
||||
arch = args.deviceinfo["arch"]
|
||||
if (arch != args.arch_native and
|
||||
|
|
Loading…
Reference in New Issue