-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 LaMont Jones wrote: > On Sat, Nov 25, 2006 at 06:22:39PM -0500, Andres Salomon wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> + # if postfix-mysql is installed, attempt to ensure mysqld's >> + # socket is available if we can. >> + [ -f /usr/lib/postfix/dict_mysql.so ] && \ >> + [ ! -d var/run/mysqld ] && { >> + mkdir -p var/run/mysqld >> + mount --bind /var/run/mysqld var/run/mysqld || true >> + } > > Note that since the script runs -e, this would be a bad way to code the > conditional....
I didn't actually check the error path. That's your job! ;) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFaQs+OmXwGc/ULyYRAs3WAJwOM9i0eBKXJTEK7ISnP1wSDg08HQCggtU0 wGczkYLp8GjyybOoE4yaYp4= =+Yps -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]