Hide find function-file

This commit is contained in:
LinuxSquare 2025-04-10 20:39:45 +02:00
parent ed1191d8b0
commit 8912975202

View file

@ -67,7 +67,7 @@ while true; do
shift
done
if ! find "$ROOTPATH/functions" -iname "$COMMAND"; then
if ! find "$ROOTPATH/functions" -iname "$COMMAND" &> /dev/null; then
log e "$COMMAND is not a viable function!"
exit 1
fi