Skip to content

Commit

Permalink
fix: ensure numerical OS version check
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jul 9, 2021
1 parent 08f6599 commit f523d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/monitor/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var restart = null;
var psTree = require('pstree.remy');
var path = require('path');
var signals = require('./signals');
const osRelease = require('os').release();
const osRelease = parseInt(require('os').release().split(".")[0], 10);

function run(options) {
var cmd = config.command.raw;
Expand Down

0 comments on commit f523d0e

Please sign in to comment.