git says there are changes

This commit is contained in:
overflowerror 2014-05-19 00:56:32 +02:00
parent 67be4b24cb
commit a3c778b341

View file

@ -105,7 +105,7 @@ LoginClass.prototype.tick = function() {
console.log("login: okay, user='" + this.user.username + "' shell='" + this.user.shell + "' dir='" + this.user.home + "'"); console.log("login: okay, user='" + this.user.username + "' shell='" + this.user.shell + "' dir='" + this.user.home + "'");
Emulator.Output.shiftKey = 1; Emulator.Output.shiftKey = 1;
OS.staticShift = 1; OS.staticShift = 1;
this.execProgram(this.user); this.execProgram();
this.state++; this.state++;
break; break;
case 8: case 8:
@ -114,9 +114,10 @@ LoginClass.prototype.tick = function() {
break; break;
} }
} }
LoginClass.prototype.execProgram = function(user) { LoginClass.prototype.execProgram = function() {
var name = user.shell; var name = this.user.shell;
params = [name, user.username, user.home]; var params = [name, this.user.home];
console.log("login: loading shell");
var pid = Kernel.ProcessManager.exec(name, [], false); var pid = Kernel.ProcessManager.exec(name, [], false);
var prog = Kernel.ProcessManager.getProcess(pid); var prog = Kernel.ProcessManager.getProcess(pid);
prog.files['stdin'] = this.files['stdin']; prog.files['stdin'] = this.files['stdin'];