Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2017 22:30:10 -0700
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        Warner Losh <imp@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r325116 - head
Message-ID:  <57DE6BAA-EAE4-49EB-BEEE-27286480B283@gmail.com>
In-Reply-To: <a2c9d616-2acd-0181-b33e-f6bcf7a58c00@FreeBSD.org>
References:  <201710300312.v9U3CcCT021416@repo.freebsd.org> <8d9e9f50-035c-403c-3bc5-6788b7a94dea@FreeBSD.org> <CANCZdfpXuLkS843%2BjneBzCYCsM5ZvV_Tm=zxzt73-wiD3C2%2BLg@mail.gmail.com> <72ee6c6d-0d9a-ebe9-8e15-c278fc91ded2@FreeBSD.org> <CANCZdfr6s0wWs%2BjYCVjAVEj0c_=5PGGz%2BnU-u8O61snNQjPKkQ@mail.gmail.com> <a5f57322-3dfe-0cd2-0366-0eea064327cb@FreeBSD.org> <3a0a92dd-19fc-2ee3-dcbf-224e4c2e8eec@FreeBSD.org> <F0072658-F037-456A-8AD0-8E8FE785ED35@gmail.com> <a2c9d616-2acd-0181-b33e-f6bcf7a58c00@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_5A98044D-6B0E-4E68-A656-9558D5312278
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


> On Nov 4, 2017, at 08:31, Bryan Drewery <bdrewery@FreeBSD.org> wrote:
>=20
> On 11/4/2017 12:08 AM, Ngie Cooper (yaneurabeya) wrote:
>> 	I just ran into this with bash on universe12a.freebsd.org by =
doing ^d. I think the change should be reverted.
>> Thanks,
>> -Ngie
>>=20
>> $ exit
>> *** Error code 130
>>=20
>> Stop.
>> make[1]: stopped in /scratch/tmp/ngie/svn
>> *** Error code 1
>>=20
>> Stop.
>> make: stopped in /scratch/tmp/ngie/svn
>>=20
>=20
> When you first go into buildenv check 'echo $?'.
> My problem was a construct like '[ -f xxx ] && . xxx' at the end of =
one
> of my profile scripts.  It needs to be 'if [ -f xxx ]; then . xxx; fi'
> to avoid the bad status.  It's really unrelated to buildenv.

The last line in my ~/.bashrc on my VM is export PATH that doesn=92t =
fail with a syntax error, and the last line on my ~/.bashrc on =
universe12a is an alias set, which also doesn=92t fail with a syntax =
error. Both cases set $? =3D 0.

The issue I reported is caused by doing ^c + ^d (hence the error code =
130 in my original reply). I guess this is expected, but it=92s going to =
confuse people and force them to have to investigate the issue, =
unnecessarily, when it wasn=92t an =93issue=94 before.

-Ngie

--Apple-Mail=_5A98044D-6B0E-4E68-A656-9558D5312278
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE5bk3FaGcY5rvqmb79YOpJmkwhhUFAln+oeIACgkQ9YOpJmkw
hhVAeA/+JaNaMKPDYv5t0zuRlEOxjad96wLU7YGQ45NVgLSqIPpO6Qr25/byjEJc
VzajwcCb4MNp0CjJgYhKJ5gZwu2s/xHNciIRJtnb3iYMCh9lro7WtbgR/2o9xtNU
VfQXcI+b2EPz+G+m1gGK/cvzRmCfKlusqbGA7Kxwoz+YvvmBO2iCiZxnHMuUrLdi
uUGe+FlbvdumAE9nsShqW05ZispERdvCV1/P9xkGvKEB46k1g4y5C6pJUlq4VT1o
/FQgtfiqwpnFmfuUQ/2VRH24RNvvdSFDyiJRox6D97NIuYdoVZvs8ttNy2EiKsEl
7YRyIhTJ//pSuDFGjKW4MHyYLdOutrsleFxpHPuQIw4BBHq5THw3ODfuUsN0VBsM
HzqGrdyb3zg1eKgSGiGaHBRxT7jOuZJCB6mc9wgrv0tIOtBhEFlubq4h3AjfqK3i
gsfNmmZHNlIW88+F6kuyyS1nzl/zHqBe8nl2ZROvYUd20+YoHmO1Sed4w+iUlPLg
1/fSF8ty+Gm5oS+d8shdZLr3Tuvn6FelU+xPRWDjTaOvrhwZ8W24RDWH5bfff75G
RjaHVTOlanAdH18aDskjsNzNgocL9HkJx8Droiyp1TBe6gqTvc7TGDRBPIxedHb2
mL5Vzr3cK3WTGdalvqs/aZ1n1uZtqxDtpMZnrhHb4SxObGbI+p0=
=wxhj
-----END PGP SIGNATURE-----

--Apple-Mail=_5A98044D-6B0E-4E68-A656-9558D5312278--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57DE6BAA-EAE4-49EB-BEEE-27286480B283>