Skip to content

Commit d7a5a59

Browse files
authored
Fix disk config validation regression (archlinux#3355)
1 parent 5b06ec7 commit d7a5a59

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

archinstall/lib/args.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,12 @@ def __init__(self) -> None:
207207
self._args: Arguments = self._parse_args()
208208

209209
config = self._parse_config()
210-
self._config = ArchConfig.from_config(config)
210+
211+
try:
212+
self._config = ArchConfig.from_config(config)
213+
except ValueError as err:
214+
warn(str(err))
215+
exit(1)
211216

212217
@property
213218
def config(self) -> ArchConfig:

0 commit comments

Comments
 (0)