Hi,

Eelco Dolstra <[EMAIL PROTECTED]>
writes:

> BTW, this isn't the only place where bash silently ignores errors (even with
> "-e" active).  For instance, errors from subshells (e.g. "(cd /foo)") are 
> ignored.

Really?

  $ ( cd /foo ) ; echo $?
  bash: cd: /foo: No such file or directory
  1

but...

  $ ( cd /foo ; true ) ; echo $?
  bash: cd: /foo: No such file or directory
  0

Thanks,
Ludo'.

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to