CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/10/08 08:35:20

Modified files:
        usr.sbin/sysupgrade: sysupgrade.sh 

Log message:
Fail on invalid installurl

Validate the URL's protocol identifier to avoid passing bogus arguments to
ftp(1) which otherwise might drop into the "ftp> " prompt instead of causing
sysupgrade(8) to exit non-zero.

Code taken from syspatch(8) as advised by ajacoutot.

Feedback jca
Feedback OK naddy

Reply via email to