Révision fd64390e
Ajouté par Julien Enselme il y a environ 10 ans
other-scripts/d7-sync.sh | ||
---|---|---|
62 | 62 |
if [ $ret -ne 0 ] ; then |
63 | 63 |
echo "mysql daemon is not started. Exiting." |
64 | 64 |
ssh assos "rm $remote_sql_file" |
65 |
rm $sql_file |
|
65 | 66 |
exit 1 |
66 | 67 |
fi |
67 | 68 |
mysql -u root $1 < $sql_file |
Formats disponibles : Unified diff
We remove local sql if the script fails