Changed sqldump errortext (#7098)

Previous text was incorrect regarding path

PTR committed Jun 9, 2025 at 22:05 UTC b3f3d658b2dcf516ce1b5306f2b85b07c3be1b29
1 file changed +2 -2
db.js
+2 -2
@@ -3392,7 +3392,7 @@ module.exports.CreateDB = function (parent, func) {
3392 const child_process = require('child_process');
3393 child_process.exec(cmd, { cwd: backupPath, timeout: 1000*30 }, function(error, stdout, stdin) {
3394 if ((error != null) && (error != '')) {
3395 - func(1, "Unable to find mysqldump tool, backup will not be performed. Command tried: " + cmd);
3395 + func(1, "mysqldump error, backup will not be performed. Command tried: " + cmd);
3396 return;
3397 } else {parent.config.settings.autobackup.backupintervalhours = backupInterval;}
3398
@@ -3407,7 +3407,7 @@ module.exports.CreateDB = function (parent, func) {
3407 const child_process = require('child_process');
3408 child_process.exec(cmd, { cwd: backupPath }, function(error, stdout, stdin) {
3409 if ((error != null) && (error != '')) {
3410 - func(1, "Unable to find pg_dump tool, backup will not be performed. Command tried: " + cmd);
3410 + func(1, "pg_dump error, backup will not be performed. Command tried: " + cmd);
3411 return;
3412 } else {parent.config.settings.autobackup.backupintervalhours = backupInterval;}
3413 });