NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/49206: ping6 dies with SIGINT even when it just fails to ping



On Tue, Sep 16, 2014 at 8:35 PM, Martin Husemann <martin%duskware.de@localhost> 
wrote:
> The following reply was made to PR bin/49206; it has been noted by GNATS.
>
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: bin/49206: ping6 dies with SIGINT even when it just fails to ping
> Date: Tue, 16 Sep 2014 13:30:16 +0200
>
>  I can not reproduce it:
>
>  [~] martin@whoever-brings-the-night > ping6 -c 1 
> fe80::4:204:baff:fecd:945e%bge0
>  PING6(56=40+8+8 bytes) fe80::1%lo0 --> fe80::4:204:baff:fecd:945e%bge0
>  ping6: sendmsg: No route to host
>  ping6: wrote fe80::4:204:baff:fecd:945e%bge0 16 chars, ret=-1
>
>  --- fe80::4:204:baff:fecd:945e%bge0 ping6 statistics ---
>  1 packets transmitted, 0 packets received, 100.0% packet loss
>
>  [~] martin@whoever-brings-the-night > echo $status
>  1

csh seems to return 1 on that case while other shells returns 130.
Are you using csh?

  ozaki-r

>
>
>  Martin
>


Home | Main Index | Thread Index | Old Index