Page MenuHomeFreeBSD

beinstall.sh: Check correct exit status
ClosedPublic

Authored by jrm on Dec 19 2022, 4:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 27, 4:04 PM
Unknown Object (File)
Thu, Apr 23, 6:53 PM
Unknown Object (File)
Thu, Apr 23, 2:20 AM
Unknown Object (File)
Wed, Apr 22, 1:26 AM
Unknown Object (File)
Wed, Apr 22, 1:17 AM
Unknown Object (File)
Mon, Apr 20, 4:13 AM
Unknown Object (File)
Fri, Apr 17, 8:10 AM
Unknown Object (File)
Sat, Apr 4, 10:05 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable