Skip to content

Commit

Permalink
Converting pacman usage from syscalls to libalpm, to avoid using sysc…
Browse files Browse the repository at this point in the history
…alls to interact with pacman
  • Loading branch information
Torxed committed Nov 8, 2024
1 parent 26cf046 commit 878ccf8
Show file tree
Hide file tree
Showing 2 changed files with 393 additions and 19 deletions.
3 changes: 1 addition & 2 deletions archinstall/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ def define_arguments() -> None:
parser.print_help()
exit(0)
if os.getuid() != 0:
print(_("Archinstall requires root privileges to run. See --help for more."))
exit(1)
warn(_("Archinstall might require root privileges to run. See --help for more."))


def parse_unspecified_argument_list(unknowns: list, multiple: bool = False, err: bool = False) -> dict:
Expand Down
Loading

0 comments on commit 878ccf8

Please sign in to comment.