Mise à jour de GitLab prévue ce samedi 23 octobre 2021 à partir de 9h00 CET

Commit 7df35aae authored by Cédric Moreau's avatar Cédric Moreau Committed by GitHub
Browse files

Merge pull request #1128 from duniter/status_exit_return

[fix] return exit values on daemon status.
parents 45601098 99ae2cb7
......@@ -69,8 +69,10 @@ module.exports = {
const pid = server.getDaemon().status()
if (pid) {
console.log('Duniter is running using PID %s.', pid)
process.exit(0)
} else {
console.log('Duniter is not running.')
process.exit(2)
}
}
}, {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment