1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-mysql-1.12.0/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs mezzanine_patched_e-smith-mysql-1.12.0/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs |
2 |
--- e-smith-mysql-1.12.0/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs 2006-11-09 22:24:54.000000000 -0500 |
3 |
+++ mezzanine_patched_e-smith-mysql-1.12.0/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs 2006-11-09 22:24:36.000000000 -0500 |
4 |
@@ -1,7 +1,7 @@ |
5 |
#! /bin/sh |
6 |
|
7 |
( cat /home/e-smith/db/mysql/mysql.dump ; |
8 |
- cat /service/mysqld/set.password ) | mysql |
9 |
+ cat /service/mysqld/set.password ) | mysql || exit 1 |
10 |
P=$(cat /var/run/mysqld/mysqld.pid) |
11 |
/bin/rm /var/run/mysqld/mysqld.pid |
12 |
kill -TERM $P |