Re: [9fans] exit an rc script on any error; equivalent of bash's set -e

2009-11-16 Thread Rudolf Sykora
Ok! rc -e script seems to be the way... I finally found it. Thanks Ruda 2009/11/16 Rudolf Sykora > Hello, > > is there anything similar to the bash's > set -e > (that causes a script to terminate whenever any command in the script > returns a failure) > in rc? > Or do I have to always write sth

Re: [9fans] exit an rc script on any error; equivalent of bash's set -e

2009-11-16 Thread Rudolf Sykora
> > > see rc(1) invocation section. see -e. this can be set >% flag e > > - erik > > Thanks! Ruda

Re: [9fans] exit an rc script on any error; equivalent of bash's set -e

2009-11-16 Thread erik quanstrom
> Hello, > > is there anything similar to the bash's > set -e > (that causes a script to terminate whenever any command in the script > returns a failure) > in rc? > Or do I have to always write sth like > command1 || exit > command2 || exit > ... > ? > see rc(1) invocation section. see -e. th

[9fans] exit an rc script on any error; equivalent of bash's set -e

2009-11-16 Thread Rudolf Sykora
Hello, is there anything similar to the bash's set -e (that causes a script to terminate whenever any command in the script returns a failure) in rc? Or do I have to always write sth like command1 || exit command2 || exit ... ? Thank you Ruda