This commit is contained in:
2024-12-15 11:24:03 -05:00
parent 46e040d6bc
commit a518ec550e
+2 -1
View File
@@ -68,7 +68,8 @@ app.post('/login', (req, res) => {
res.redirect('/shell');
shell.kill();
}
else console.error(`unknown terminal output:\n${data}`);
else if (data.match(/\[\w+@\w+ \w+\]\$ ?/)) shell.write('fish\n');
else console.error(`unknown terminal output:\n"${data}"`);
});
}
catch (err) {