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, Jul 13, 10:35 PM
Unknown Object (File)
Fri, Jul 10, 5:05 PM
Unknown Object (File)
Fri, Jul 10, 3:02 PM
Unknown Object (File)
Tue, Jul 7, 1:11 PM
Unknown Object (File)
May 19 2026, 11:57 PM
Unknown Object (File)
May 15 2026, 4:01 AM
Unknown Object (File)
May 11 2026, 4:04 PM
Unknown Object (File)
May 10 2026, 4:35 AM
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