[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: AS_EXIT (Was: Backquotes in quotes in backquotes)
From: |
Pavel Roskin |
Subject: |
Re: FYI: AS_EXIT (Was: Backquotes in quotes in backquotes) |
Date: |
Thu, 30 Nov 2000 14:00:21 -0500 (EST) |
Hello, Akim!
> * sh.m4 (AS_EXIT): Don't rely on false exiting 1.
Unbelievable!
> Actually, always use `(exit $val); exit', don't try smart stuff.
I'm afraid it's quite over the top. I would leave the case for 0.
Actually, I was planning to introduce a special case for $? that would be
just "exit".
> # So we set $? by executing "exit N" in the subshell and then exit.
> # "false" is used for exit code 1 (default), ":" is used for 0
If you insist, make sure to remove this line.
Regards,
Pavel Roskin