Commit 0d0d4d0e authored by anthraxx's avatar anthraxx
Browse files

fix copy pasta error

parent ef3748ef
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment