Merge pull request 'fix sudo in clan flash when restoring auto-updates' (#3717) from restore-automount into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3717
This commit is contained in:
@@ -340,6 +340,8 @@ def run(
|
||||
|
||||
if options.requires_root_perm:
|
||||
cmd = cmd_with_root(cmd, options.graphical_perm)
|
||||
# Use our sudo ask proxy here as well
|
||||
options.needs_user_terminal = True
|
||||
|
||||
if cmdlog.isEnabledFor(logging.DEBUG):
|
||||
if options.input and isinstance(options.input, bytes):
|
||||
|
||||
Reference in New Issue
Block a user