Don Armstrong writes ("Re: Migration despite an RC bug?"): > I'm still not quite sure how the script was failing. The outer shell > invocation which calls a perl script to do the versioning database > update is run with set -e, and the perl script should exit with non-zero > if it fails to work properly. However, it appears that when buxtehude is > restarted, the perl script is killed before the outer bash script > completes but the exit state isn't properly handled?
I've debugged a lot of this kind of thing. Point me at your (pre-just-fixed) code and I might spot it ? > I've fixed this by making the perl script do all of the logic which was > in the bash script originally so if it fails, it should at least do so > gracefully. That may well help. Or maybe the bug is in a higher layer somewhere. Are HTTP and CGI involved ? Ian. -- Ian Jackson <ijack...@chiark.greenend.org.uk> These opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.