diff options
-rw-r--r-- | tterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ cwdcpy(char *path) int len; r = strdup(path); - if (strncmp(path, "/home/", sizeof("/home")-1) == 0) { + if (strncmp(path, "/home/", sizeof("/home/")-1) == 0) { user = getenv("USER"); len = strlen(user); r += sizeof("/home")-1; |