mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Sat 9 Oct 03:47:17 EEST 2021
This commit is contained in:
parent
ef51ba9192
commit
67c4c6a8e0
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ function su(cmd) {
|
|||
return `Switched to the <b>${root ? '<b>root</b>' : localStorage.getItem('username')}</b> user.`
|
||||
} else {
|
||||
root = true;
|
||||
let ret = '';
|
||||
let ret = 'Command not found';
|
||||
|
||||
try {
|
||||
ret = commands[cmd[0]]['func'](cmd.slice(1));
|
||||
|
|
Loading…
Add table
Reference in a new issue