diff options
Diffstat (limited to 'meta/recipes-extended/tzdata')
-rw-r--r-- | meta/recipes-extended/tzdata/tzdata.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/tzdata/tzdata.inc b/meta/recipes-extended/tzdata/tzdata.inc index 37ae92647c..ee56d36395 100644 --- a/meta/recipes-extended/tzdata/tzdata.inc +++ b/meta/recipes-extended/tzdata/tzdata.inc @@ -60,8 +60,8 @@ pkg_postinst_${PN} () { tz=$(sed -e 's:#.*::' -e 's:[[:space:]]*::g' -e '/^$/d' "${src}") fi - if [ -z ${tz} ] ; then - return 0 + if [ -z "${tz}" ] ; then + exit 0 fi if [ ! -e "$D${datadir}/zoneinfo/${tz}" ] ; then |