.gitcheck: only redirect stdout to /dev/null

do not redirect stderr

this will help us for debugging purposes

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-08-24 01:00:04 +01:00
parent 8f4f0e00ec
commit 3a5ba57f5e
1 changed files with 2 additions and 2 deletions

View File

@ -10,13 +10,13 @@ main()
{ {
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
if [ "${1}" = "clean" ]; then if [ "${1}" = "clean" ]; then
clean > /dev/null 2> /dev/null clean 1> /dev/null
else else
printf "%s: Unsupported argument\n" $0 printf "%s: Unsupported argument\n" $0
exit 1 exit 1
fi fi
else else
set_placeholders > /dev/null 2> /dev/null set_placeholders 1> /dev/null
fi fi
} }