Fix output broken by trap & status code fix

This commit is contained in:
Kristóf Tóth 2018-05-02 19:11:06 +02:00
parent d4931b0727
commit b7cfbc9593
1 changed files with 2 additions and 2 deletions

View File

@ -55,12 +55,12 @@ check_dependencies()
missing="0"
for dep in ${dependencies[@]}; do
if ! type "$dep" > /dev/null 2>&1; then
echo "Dependency '${dep}' not found!"
logged echo "Dependency '${dep}' not found!"
missing="1"
fi
done
if [ "$missing" == "1" ]; then
echo "Please install the missing packages and retry!"
logged echo "Please install the missing packages and retry!"
exit 1
fi
}