Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a minor bug with tty name display.

  • Loading branch information...
commit ad3e30c3a39dac1f9942f1d6d7f8af06b9f5a631 1 parent 6355bc4
Michał Siejak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/xlsh.c
2  src/xlsh.c
View
@@ -570,7 +570,7 @@ int xlsh_sys_getinfo(xlsh_system_t* sysinfo)
tty_name = tty_path;
}
else
- tty_name = tty_path;
+ tty_name = tty_path + 5;
strncpy(sysinfo->ttyname, tty_name, sizeof(sysinfo->ttyname));
timeval = time(NULL);
Please sign in to comment.
Something went wrong with that request. Please try again.