aboutsummaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorbrkirch <brkirch@users.noreply.github.com>2022-12-01 04:04:14 -0500
committerbrkirch <brkirch@users.noreply.github.com>2022-12-01 04:49:49 -0500
commitbef36597cc46671eeb2041b0343bd5e183883eb7 (patch)
tree7ccb2f20d1abe8c63f04545c456ea8f9d45d0d4b /webui.py
parent79953e9b8b0d04868b719452a5b250c450f757b6 (diff)
Fix run as root flag
Even though -f enables running webui.sh as root, the -f flag will also be passed to launch.py, causing it to exit with a usage message. This adds a line to launch.py to remove the -f flag if present. In addition to the above, all the letters in the command line arguments after each '-' were being processed for 'f' and "illegal option" was displayed for each letter that didn't match. Instead, this commit silences those errors and stops processing if the first flag doesn't start with '-f'.
Diffstat (limited to 'webui.py')
0 files changed, 0 insertions, 0 deletions