Show an error when the executable is not found in scripts/ybcon.

This commit is contained in:
Username404 2021-07-12 14:36:46 +02:00
parent 8598509f0b
commit ecc2683cea
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ runIt() { eval "$1" " $args"; }
if [ "$run" = true ]; then
if [ -f "$defaultBinLocation" ]; then
runIt "$defaultBinLocation"
elif [ -f ybcon ]; then
runIt "./ybcon"
else
echo "Yerbacon executable not found at $defaultBinLocation"
fi
fi