bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #51267] Improve error handling after a special command


From: Henrik Carlqvist
Subject: Re: [bug #51267] Improve error handling after a special command
Date: Mon, 19 Jun 2017 19:45:23 +0200

On Mon, 19 Jun 2017 12:08:35 -0400 (EDT)
Markus Elfring <address@hidden> wrote:
> The semicolon indicates at the end that the return value is ignored
> there. I imagine that further data processing should usually only be
> performed if this command succeeded.
> Would you like to improve the exception handling for such a situation?

If you really think that is a bug you should file that bug to the writers
of the shell. Make calls commands in a shell and the result is as in the
shell.

Try the following at your shell prompt:

true && echo everything is fine
echo $?
false && echo evertyhing is fine
echo $?
false ; echo everything is fine
echo $?

regards Henrik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]