Re: bash exception

Thomas Moritz <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization -
Message-ID <[email protected]>
Am Dienstag, 23. Oktober 2007 17:26:12 schrieb Manfred Hollstein:

Hallo Manfred,

> On Tue, 23 Oct 2007, 17:04:33 +0200, Thomas Moritz wrote:
> > [...]
> > ( und nein, es liegt hier nicht an while true )
> >
> > #!/bin/bash
> >
> > set -e
>
> Hmm, das hatte ich mir schon gedacht... Folgendes sagt "help set"
> dazu:
>
>   -e  Exit immediately if a command exits with a non-zero status.
>
> Mach' das mal 'raus ;-)

Du bist ein Held! Danke vielmals.
Nach den ersten Tests mit -xv schreibe ich schon aus Gewohnheit 
immer das -e rein, um Fehler zu finden :-( 
In diesem Fall habe ich mir damit selbst ein Kind gemacht.

MfG Th. Moritz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.