From 461214d87096aa589028a7e3f26856d1de275a31 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 26 Oct 2014 00:21:32 +0200 Subject: [PATCH] util: clarify error message in "wmaker.inst" in case of directory creation failure 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 --- 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 ad2a9a84..4aeac652 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.11.4.GIT