Bug#385245: renice succeeds on garbage input

2008-01-06 Thread Frederik Eaton
Excellent, thank you On Sun, Jan 06, 2008 at 07:07:55PM -0700, LaMont Jones wrote: > On Wed, Aug 30, 2006 at 03:02:58AM +0100, Frederik Eaton wrote: > > $ renice +20 blahblahblah > > 0: old priority 19, new priority 19 > > $ echo $? > > 0 > > This is because renice uses atoi, so your command is e

Bug#385245: renice succeeds on garbage input

2008-01-06 Thread LaMont Jones
On Wed, Aug 30, 2006 at 03:02:58AM +0100, Frederik Eaton wrote: > $ renice +20 blahblahblah > 0: old priority 19, new priority 19 > $ echo $? > 0 This is because renice uses atoi, so your command is equivalent to "renice +20 -p 0", and that succeeded just fine. I'll be sending a patch upstream la

Bug#385245: renice succeeds on garbage input

2006-08-29 Thread Frederik Eaton
Package: bsdutils Version: 1:2.12r-10 Severity: normal $ renice +20 blahblahblah 0: old priority 19, new priority 19 $ echo $? 0 -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')