From: Christophe CURIS <christophe.cu...@free.fr>

Previously, the directory was expected to already exist, but as now it is
automatically created it is a good idea in case of problem to have the
message clearer.

Took opportunity to indent properly that part of code.

Signed-off-by: Christophe CURIS <christophe.cu...@free.fr>
---
 util/wmaker.inst.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/wmaker.inst.in b/util/wmaker.inst.in
index ad2a9a8..4aeac65 100644
--- a/util/wmaker.inst.in
+++ b/util/wmaker.inst.in
@@ -113,8 +113,8 @@ else
        if [ ! -d "$GSDIR" ]; then
                # in this case, and in this case only, mkdir needs -p option
                mkdir -p $GSDIR || {
-               echo "Directory specified in GNUSTEP_USER_ROOT environment 
variable does not exist"
-               exit 1
+                   echo "Directory specified in GNUSTEP_USER_ROOT environment 
variable does not exist and could not be created"
+                   exit 1
                }
                chmod +rwx $GSDIR || exit 1
        fi
-- 
2.1.1


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to