Skip to content

Commit 55e2554

Browse files
committed
Fix issue running version command
1 parent db56e90 commit 55e2554

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ io.on('connection', function(socket){
5757
///////////////////////////
5858
// When dashboard info is requested send to client
5959
socket.on('getdash', function(){
60-
var tftpcmd = '/usr/sbin/dnsmasq --version | head -n1 | cut -d ' ' -f 1-3';
60+
var tftpcmd = '/usr/sbin/dnsmasq --version | head -n1';
6161
var nginxcmd = '/usr/sbin/nginx -v';
6262
var dashinfo = {};
6363
dashinfo['webversion'] = version;
@@ -358,4 +358,4 @@ if (!Number.isInteger(Number(port)) || port < 1 || port > 65535) {
358358

359359
http.listen(port, function(){
360360
console.log('listening on *:' + port);
361-
});
361+
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "WebApp",
3-
"version": "0.7.2",
3+
"version": "0.7.3",
44
"description": "Configuration and mirroring application for netboot.xyz stack",
55
"main": "app.js",
66
"scripts": {

0 commit comments

Comments
 (0)