This commit is contained in:
Your Name 2022-08-15 15:02:22 -06:00
parent 676a1281f7
commit 22bb930afb

View File

@ -377,8 +377,8 @@ app.post('/run', (req, res) => {
systemd_remove(req.body.command); systemd_remove(req.body.command);
} }
} }
res.json(output);
} }
res.json(output);
}, err => { }, err => {
if (err) { if (err) {
console.error('error:', err); console.error('error:', err);
@ -552,4 +552,4 @@ function additional_services() {
}); });
}); });
} }
} }