From 322d1a35bb32991993736067c6235ce679b201aa Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 29 Jan 2015 23:47:36 +1300 Subject: Raise error message if .d sh file can't be read --- sh/profile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sh') diff --git a/sh/profile b/sh/profile index 5059d778..189f456a 100644 --- a/sh/profile +++ b/sh/profile @@ -6,9 +6,7 @@ fi # Load all supplementary scripts in ~/.profile.d if [ -d "$HOME"/.profile.d ] ; then for config in "$HOME"/.profile.d/*.sh ; do - if [ -r "$config" ] ; then - . "$config" - fi + . "$config" done fi unset -v config -- cgit v1.2.3