Only cat cnf file > mysql-config-file if it exists.

This commit is contained in:
Daniel Nichter
2012-10-24 12:43:26 -06:00
parent a94605c825
commit b6072ab011
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ wait
file_count=$(ls "$p" | wc -l)
is $file_count 14 "Creates the correct number of files (without --databases)"
is $file_count 13 "Creates the correct number of files (without --databases)"
awk '{print $1}' "$p/mysqld-instances" > "$PT_TMPDIR/collect_mysqld_instances1.test"
pids="$(_pidof mysqld)"