diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 881bc12ab..d9ab3feb5 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -16295,6 +16295,10 @@ int ash_main(int argc UNUSED_PARAM, char **argv) | |||
16295 | hp = concat_path_file(get_system_drive(), "/etc/profile"); | 16295 | hp = concat_path_file(get_system_drive(), "/etc/profile"); |
16296 | read_profile(hp); | 16296 | read_profile(hp); |
16297 | free((void *)hp); | 16297 | free((void *)hp); |
16298 | |||
16299 | hp = exe_relative_path("/etc/profile"); | ||
16300 | read_profile(hp); | ||
16301 | free((void *)hp); | ||
16298 | #else | 16302 | #else |
16299 | read_profile("/etc/profile"); | 16303 | read_profile("/etc/profile"); |
16300 | #endif | 16304 | #endif |