Hi Matthias,
Matthias Klose wrote:
matthieu castet writes:
Package: bash
Version: 3.0-14
Severity: normal
Hi,
Bash accept negative exit status, I don't now if it is normal (dash or
posh don't accept it.)
But even if there are accepted, the return value is wrong :
$ bash -c exit -1; echo $?
matthieu castet writes:
Package: bash
Version: 3.0-14
Severity: normal
Hi,
Bash accept negative exit status, I don't now if it is normal (dash or
posh don't accept it.)
But even if there are accepted, the return value is wrong :
$ bash -c exit -1; echo $?
255
bash -c exit -10;
Matthias Klose wrote:
matthieu castet writes:
Package: bash
Version: 3.0-14
Severity: normal
Hi,
Bash accept negative exit status, I don't now if it is normal (dash or
posh don't accept it.)
But even if there are accepted, the return value is wrong :
$ bash -c exit -1; echo $?
255
bash -c
Package: bash
Version: 3.0-14
Severity: normal
Hi,
Bash accept negative exit status, I don't now if it is normal (dash or
posh don't accept it.)
But even if there are accepted, the return value is wrong :
$ bash -c exit -1; echo $?
255
bash -c exit -10; echo $?
246
Matthieu
-- System
4 matches
Mail list logo