diff --git a/ChangeLog b/ChangeLog index cf73974..2d73e8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-12 Ben Elliston + + * uname: Similar to the last change, remove all exit commands and + let the script exit with the exit code of the last command. + 2005-05-12 Paul Eggert Explanation for this subtle change: diff --git a/uname b/uname index 53d87f8..4d2b55d 100755 --- a/uname +++ b/uname @@ -2,8 +2,8 @@ # uname(1) simulator, inspired by Pavel Roskin. [ $# -ne 1 ] && exec sh $0 -s -[ $1 = -m ] && echo 4400 && exit 0 -[ $1 = -r ] && echo 4.0 && exit 0 -[ $1 = -s ] && echo iainfo2 && exit 0 -[ $1 = -v ] && echo 3.0 && exit 0 +[ $1 = -m ] && echo 4400 +[ $1 = -r ] && echo 4.0 +[ $1 = -s ] && echo iainfo2 +[ $1 = -v ] && echo 3.0 [ $1 = -p ] && echo "Pentium III(TM)-ISA/PCI"