HomeFreeBSD

beinstall.sh: Check correct exit status

Description

beinstall.sh: Check correct exit status

When retrieving the timestamp of the last commit using git-show(1), do
not pipe the output to head(1), otherwise the return value in $? will be
for head(1) and not git-show(1).

Approved by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37742

Details

Provenance
jrmAuthored on Dec 19 2022, 4:07 AM
Differential Revision
D37742: beinstall.sh: Check correct exit status
Parents
rG01143ba1189b: ifcapnv: fix IFCAP2 usage
Branches
Unknown
Tags
Unknown