Skip to content

Commit b6b0501

Browse files
committed
Fix disk config validation regression
1 parent f985da6 commit b6b0501

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)