diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 4acc30110..4981f4ce0 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -11909,7 +11909,8 @@ find_dot_file(char *name) | |||
11909 | */ | 11909 | */ |
11910 | return fullname; | 11910 | return fullname; |
11911 | } | 11911 | } |
11912 | stunalloc(fullname); | 11912 | if (fullname != name) |
11913 | stunalloc(fullname); | ||
11913 | } | 11914 | } |
11914 | 11915 | ||
11915 | /* not found in the PATH */ | 11916 | /* not found in the PATH */ |