Zuerst muss /dev/null kommen

This commit is contained in:
qbi 2021-06-06 10:21:54 +02:00
parent f4e187c048
commit 7c5c93444c

View file

@ -227,7 +227,7 @@ check_sty() (
# false zurück.
print_start "Suche nach $STY_RECHNUNG ..."
kpsewhich "$STY_RECHNUNG" 2>&1 >/dev/null
kpsewhich "$STY_RECHNUNG" > /dev/null 2>&1
if [ $? -eq 0 ]; then
print_ok
return 0
@ -257,7 +257,7 @@ check_binaries() (
if [ -h "$program" ]; then
program=$(get_link_target "$program")
fi
if ! which "$program" 2>&1 >/dev/null; then
if ! which "$program" > /dev/null 2>&1 ; then
print_failed "$program ist nicht im Pfad"
fi
print_ok