CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/07/18 08:08:07
Modified files:
usr.sbin/syspatch: syspatch.sh
Log message:
set -/+o pipefail around the magic loop in ls_missing() so that we can properly
error out if ftp(1) or tar(1) fails; this happened to swarte@ a few months
(something to do with /home on NFS without -maproot IIRC).
Check that the signature file is at least 3 lines long (meaning that it contains
at least 1 syspatch) before entering the magic loop otherwise `grep -q' will
abort the script due to pipefail.
While here, revove a useless use of sort(1).