Skip to content

Commit

Permalink
fix grunt complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarzot committed Jul 20, 2023
1 parent 26ec798 commit e2b58e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utility/daemon/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = function(RED) {
function inputlistener(msg) {
if (msg != null) {
if (msg.hasOwnProperty("stop")) {
this.stopped = true;
node.stopped = true;
if (node.running) {
node.child.kill(node.closer);
}
Expand All @@ -46,7 +46,7 @@ module.exports = function(RED) {
node.child.kill(msg.kill.toUpperCase());
}
else if (msg.hasOwnProperty("start")) {
this.stopped = false;
node.stopped = false;
if (!node.running) {
let args = "";
if (msg.hasOwnProperty("args") && msg.args.length > 0) {
Expand Down

0 comments on commit e2b58e9

Please sign in to comment.