Re: patch: partially fix interactive mode

2023-07-19 Thread Florian Obser
OK florian On 2023-07-19 13:17 +02, Theo Buehler wrote: > The addition of unveil broke interactive mode since ask() assumes the > default answer if it fails to open _PATH_TTY. Questions are only asked > if neither force nor batch mode is activated, so condition on those. > > It seams cleaner to d

patch: partially fix interactive mode

2023-07-19 Thread Theo Buehler
The addition of unveil broke interactive mode since ask() assumes the default answer if it fails to open _PATH_TTY. Questions are only asked if neither force nor batch mode is activated, so condition on those. It seams cleaner to do unveil _PATH_TTY than to add a tty pledge since as far as I can s