Skip to content
Snippets Groups Projects
Commit 29e2c75e authored by intrigeri's avatar intrigeri
Browse files

mysql: make "nodata" option compatible with compress=no.

parent b8b8b46f
Branches
Tags
No related merge requests found
......@@ -302,7 +302,7 @@ then
if [ "$compress" == "yes" ]; then
execstr="$DUMP | $GZIP $GZIP_OPTS > '$dumpdir/${db}.sql.gz'"
else
execstr="$DUMP -r '$dumpdir/${db}.sql'"
execstr="$DUMP > '$dumpdir/${db}.sql'"
fi
fi
debug "su $user -c \"$execstr\""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment