fix copy pasta error

This commit is contained in:
anthraxx 2016-03-01 20:10:57 +01:00
parent ef3748efcd
commit 0d0d4d0e01

3
shared
View file

@ -13,7 +13,8 @@ if [ -z "${password}" ]; then
echo "WARNING: password in ${config} is missing!" >&2
fi
# get tresor config value in a safe way
tresor="$(grep tresor ${basedir}/${config} 2>/dev/null|cut -d= -f2|tr -d ' \t')"
if [ -z "${password}" ]; then
if [ -z "${tresor}" ]; then
echo "WARNING: tresor in ${config} is missing!" >&2
fi