projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sys: new luksheaders option to backup the Luks header of every Luks device
[matthijs/upstream/backupninja.git]
/
handlers
/
mysql.in
diff --git
a/handlers/mysql.in
b/handlers/mysql.in
index c80a36a3d95881ba0aa8b4f8ba5fd20ec3efce05..e34b16dbb0c3c3d697d9ac0152079f70a53a1b79 100644
(file)
--- a/
handlers/mysql.in
+++ b/
handlers/mysql.in
@@
-266,9
+266,9
@@
then
if [ $usevserver = yes ]
then
# Test to make sure mysqld is running, if it is not sqldump will not work
if [ $usevserver = yes ]
then
# Test to make sure mysqld is running, if it is not sqldump will not work
- $VSERVER $vsname exec su $user -c "$MYSQLADMIN $defaultsfile ping"
+ $VSERVER $vsname exec su $user -c "$MYSQLADMIN $defaultsfile ping
2>&1 >/dev/null
"
if [ $? -ne 0 ]; then
if [ $? -ne 0 ]; then
- fatal "
Either you have an authentication problem, or
mysqld doesn't appear to be running!"
+ fatal "mysqld doesn't appear to be running!"
fi
if [ "$compress" == "yes" ]; then
execstr="$VSERVER $vsname exec $DUMP | $GZIP > $vroot$dumpdir/${db}.sql.gz"
fi
if [ "$compress" == "yes" ]; then
execstr="$VSERVER $vsname exec $DUMP | $GZIP > $vroot$dumpdir/${db}.sql.gz"
@@
-277,9
+277,9
@@
then
fi
else
# Test to make sure mysqld is running, if it is not sqldump will not work
fi
else
# Test to make sure mysqld is running, if it is not sqldump will not work
- su $user -c "$MYSQLADMIN $defaultsfile ping"
+ su $user -c "$MYSQLADMIN $defaultsfile ping
2>&1 >/dev/null
"
if [ $? -ne 0 ]; then
if [ $? -ne 0 ]; then
- fatal "
Either you have an authentication problem, or
mysqld doesn't appear to be running!"
+ fatal "mysqld doesn't appear to be running!"
fi
if [ "$compress" == "yes" ]; then
execstr="$DUMP | $GZIP > $dumpdir/${db}.sql.gz"
fi
if [ "$compress" == "yes" ]; then
execstr="$DUMP | $GZIP > $dumpdir/${db}.sql.gz"