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)
Sun, Oct 12, 10:09 PM
Unknown Object (File)
Sat, Oct 11, 1:50 AM
Unknown Object (File)
Sat, Oct 11, 1:50 AM
Unknown Object (File)
Sat, Oct 11, 1:50 AM
Unknown Object (File)
Fri, Oct 10, 7:08 PM
Unknown Object (File)
Thu, Oct 9, 5:47 PM
Unknown Object (File)
Tue, Sep 16, 9:36 PM
Unknown Object (File)
Sep 15 2025, 5:01 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