Skip to content

Commit 00e39e1

Browse files
committed
Force people to include a mirror
1 parent fdbccc2 commit 00e39e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rootfs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ def check_types():
177177
else:
178178
args.swap = 0
179179

180+
# Validate mirrors
181+
if not args.mirrors:
182+
raise ValueError("At least one mirror must be provided.")
183+
180184
# Set constant umask
181185
os.umask(0o022)
182186

0 commit comments

Comments
 (0)