mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 11:29:46 +03:00
pmbootstrap: Disallow running as root (#1120)
This commit is contained in:
parent
1992f37036
commit
4715c0f1bf
2 changed files with 7 additions and 1 deletions
|
@ -171,6 +171,10 @@ def arguments():
|
|||
" cause normal 'are you sure?' prompts to be"
|
||||
" disabled!",
|
||||
action="store_true")
|
||||
parser.add_argument("--as-root", help="Allow running as root (not"
|
||||
" recommended, may screw up your work folders"
|
||||
" directory permissions!)", dest="as_root",
|
||||
action="store_true")
|
||||
|
||||
# Logging
|
||||
parser.add_argument("-l", "--log", dest="log", default=None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue