-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Luka Z. Gerzic" writes:
>
>hi there spamhaters :)
>i just have quick note for spamd startup scripts. All scripts
>for latest 2.60 (dunno about < 2.60) have exit 0 at the end of
>script. This can produce some confusion if script is started
>from another script, ie. it' will stop execution of all scripts
>below the SA script. 
>
>Imagine this situation:
>
>........
>
>if [ -x /some/bin/file1 ]; then
>  /script/do1 start
>fi
>
># from slackware /etc/rc.d type of startup scripts :)
>if [ -x /sa/spamd ]; then
>  /etc/rc.d/rc.spamassasin start 
>fi
>
>if [ -x /some/bin/file2 ]; then
>  /script/do2 start
>fi

I think you're thinking of DOS bat files.   Shell scripts
can exit 0 as long as they're not invoked using ".".

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Exmh CVS

iD8DBQE/uoLNQTcbUG5Y7woRAjSxAJ9qass+XHgwE8Q5148jpsNw7PVb8gCgmXtB
4Iz7aoaDu4IiAkjmMa63xb4=
=Ctyz
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to