mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
Merge pull request #3919 from Unitech/message_backup_file
fix: #3896 update file path if we are reading the backup file
This commit is contained in:
commit
aa4bf150ef
@ -484,7 +484,7 @@ module.exports = function(CLI) {
|
||||
var processes;
|
||||
|
||||
function readDumpFile(dumpFilePath) {
|
||||
Common.printOut(cst.PREFIX_MSG + 'Restoring processes located in %s', cst.DUMP_FILE_PATH);
|
||||
Common.printOut(cst.PREFIX_MSG + 'Restoring processes located in %s', dumpFilePath);
|
||||
try {
|
||||
var apps = fs.readFileSync(dumpFilePath);
|
||||
} catch (e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user