mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Force people to include a mirror
This commit is contained in:
parent
fdbccc251b
commit
00e39e13d0
1 changed files with 4 additions and 0 deletions
|
|
@ -177,6 +177,10 @@ def main():
|
|||
else:
|
||||
args.swap = 0
|
||||
|
||||
# Validate mirrors
|
||||
if not args.mirrors:
|
||||
raise ValueError("At least one mirror must be provided.")
|
||||
|
||||
# Set constant umask
|
||||
os.umask(0o022)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue