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)
Fri, Sep 11, 4:29 AM
Unknown Object (File)
Sat, Sep 5, 11:32 PM
Unknown Object (File)
Sat, Sep 5, 5:47 PM
Unknown Object (File)
Sat, Sep 5, 5:47 PM
Unknown Object (File)
Sat, Sep 5, 4:56 PM
Unknown Object (File)
Fri, Sep 4, 6:47 PM
Unknown Object (File)
Thu, Sep 3, 4:53 PM
Unknown Object (File)
Thu, Sep 3, 3:58 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