also sprach dean gaudet <[EMAIL PROTECTED]> [2006.11.13.1107 +0100]: > which causes the is_true() in info() to return 1 which causes the set -e > to terminate the script.
What shell are you using? Does it work if you change info() to info() { is_true ${VERBOSE:-false} && write I "$@" || : } > perhaps this bug report should be titled "set -e considered > harmful" :) > > set -e would be better if it actually caused sh to complain when > the error occured... instead it's the worst of both worlds: > scripts exit due to programming errors and then you have no idea > they exited early. I do not see the problem with dash or zsh, so I guess you must be using bash then. I wonder whether it isn't bash's fault, but I do agree that the info function should not return false when VERBOSE=false. Fixed merged into 2.5.6-5. > is it really that hard to start only the root array? What is the root array? What if you have LVM on two arrays providing the root filesystem? Trust me, it's not that easy, and I cannot make any drastic changes anymore due to the freeze. -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems
signature.asc
Description: Digital signature (GPG/PGP)