On Mit, 10 Jan 2007, Hans Hagen wrote:
def exit
if @error then Kernel.exit(1) else Kernel.exit(0) end
end
Maybe ruby switches the 1 <-> 0??? No idea to be honest.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining Università di Siena
Debian Developer Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SHIFNAL (n.,vb.)
An awkward shuffling walk caused by two or more people in a hurry
accidentally getting into the same segment of revolving door. A
similar effect is achieved by people entering three-legged races
unwisely joined at the neck instead of the ankles.
--- Douglas Adams, The Meaning of Liff