local/bin/homeinit: Fix inpath true/false return values

master
Pierre Neidhardt 2019-01-22 15:32:44 +01:00
parent 2f11e5ab77
commit 26da2ce04f
1 changed files with 2 additions and 2 deletions

View File

@ -75,10 +75,10 @@ lnn() { # $1=TARGET $2=LINK|FOLDER
inpath() {
for i; do
if ! command -v "$i" >/dev/null 2>&1; then
return false
return 1
fi
done
return true
return 0
}
################################################################################