Make both mysqldump command lines do the same

doesn't make a pratical difference, but it's bad style...

From: Michael Prokop <mprokop@sipwise.com>
ksolomko/vlan
Michael Prokop 14 years ago
parent a0d690b764
commit e1c8e6cd4f

@ -1285,7 +1285,7 @@ upload_db_dump() {
# actually dumping it for committing it to VCS we need to dump it once without
# the "--skip-comments" option, do the check on that and then really dump it
# later...
if ! chroot $TARGET mysqldump --add-drop-database --no-data -B $databases > /dump.db ; then
if ! chroot $TARGET mysqldump --add-drop-database --skip-comments -B $databases > /dump.db ; then
echo "Error while dumping mysql databases." >&2
exit 1
fi

Loading…
Cancel
Save