On 11/12/19 8:29 AM, Theo de Raadt wrote:
Renaud Allard <ren...@allard.it> wrote:

+.It Fl d Ar directory
+Choose the
+.Ar directory
+in which the sets will be downloaded.
+Default is
+.Pa /home/_sysupgrade .

...

+       d)      SETSDIR=${OPTARG};;

...

-rm -f /home/_sysupgrade/{${CLEAN}}
+rm -f ${SETSDIR}/{${CLEAN}}

Renaud, please test it for me like this:

      sysupgrade -d /

This interface is dangerously incorrect.


No need to blank the disk :)

What about a prefix approach then? Like if you specify /var, it goes to /var/_sysupgrade.

Reply via email to