Re: sleep(1): better error messages

2018-02-04 Thread Theo de Raadt
> Exiting with EINVAL is really unusual. It went into r1.9. Unless > I'm missing something I think we can just exit with 1, which is > consistent with what other utilities do. No kidding, that's a definate bug.

Re: sleep(1): better error messages

2018-02-03 Thread Ingo Schwarze
Hi Scott, Scott Cheloha wrote on Sat, Feb 03, 2018 at 10:08:46AM -0600: > This adds strtonum(3)-style error messages to sleep(1). They're > more informative than the usage statement and they're idiomatic > for numeric input. > > Exiting with EINVAL is really unusual. It went into r1.9.

sleep(1): better error messages

2018-02-03 Thread Scott Cheloha
Hi, This adds strtonum(3)-style error messages to sleep(1). They're more informative than the usage statement and they're idiomatic for numeric input. Exiting with EINVAL is really unusual. It went into r1.9. Unless I'm missing something I think we can just exit with 1, which is consistent