summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile')
-rw-r--r--etc/profile14
1 files changed, 6 insertions, 8 deletions
diff --git a/etc/profile b/etc/profile
index 8655c73..f347430 100644
--- a/etc/profile
+++ b/etc/profile
@@ -57,11 +57,9 @@ else
PS1="`whoami`@`uname -n | cut -f1 -d.` \$ "
fi
-if [ -d /etc/profile.d ] ; then
- for sh in /etc/profile.d/*.sh ; do
- if [ -r "$sh" ] ; then
- . "$sh"
- fi
- done
- unset sh
-fi
+for sh in /etc/profile.d/*.sh ; do
+ if [ -r "$sh" ] ; then
+ . "$sh"
+ fi
+done
+unset sh