metalog: fix bleeding logs onto tty1

This fixes issue #45653 [1]. There are 2 changes involved:

1. Drop the verbosity.
2. Redirect stdout to void (pun intented).

This patch is practically Duncaen's suggestion.

[1]
https://github.com/void-linux/void-packages/issues/45653
This commit is contained in:
Shahab Vahedi 2023-08-21 13:46:03 +02:00 committed by Duncan Overbruck
parent b9223296c6
commit b55cfee291
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,3 @@
#!/bin/sh
exec 2>&1
exec 1>&2
[ -r conf ] && . ./conf
exec metalog ${OPTS=-v}
exec metalog ${OPTS} >/dev/null

View File

@ -1,7 +1,7 @@
# Template file for 'metalog'
pkgname=metalog
version=20230719
revision=1
revision=2
build_style=gnu-configure
conf_files="/etc/metalog.conf"
hostmakedepends="autoconf autoconf-archive automake pkg-config"