mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-12-05 02:11:32 +00:00
Fix output broken by trap & status code fix
This commit is contained in:
parent
d4931b0727
commit
b7cfbc9593
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user