summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocale-gen8
1 files changed, 4 insertions, 4 deletions
diff --git a/locale-gen b/locale-gen
index 03caff2..c746eef 100755
--- a/locale-gen
+++ b/locale-gen
@@ -299,14 +299,14 @@ generate_locale() {
elif [[ ${ret} -ne 0 ]] ; then
eerror "${disp}: ${x}"
fi
+
+ if [[ ${ret} -ne 0 && ${locale} == */* ]] ; then
+ ewarn "Perhaps you meant to use a space instead of a / in your config file ?"
+ fi
exit ${ret}
) &
JOB_PIDS+=( $! )
: $(( ++JOB_IDX_E ))
-
- if [[ ${ret} != 0 && ${locale} == */* ]] ; then
- ewarn "Perhaps you meant to use a space instead of a / in your config file ?"
- fi
}
JOB_PIDS=()