Sebastian Benoit wrote:
> The -n option helps to use doas non-interactively.
> Its debateable wether 'persist' is useful with non-interactive usage, but
> this fixes it:

So the man page currently says "fail if doas would prompt for password."
although it would be more accurate to say "fail if does may prompt for a
password". The purpose of -n is to make sure a script will run with or without
persist, instead of being unpredictable.

Also, the way persist is tied to a process group means it's not great for
scripting anyway.

Reply via email to