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:
parent
b9223296c6
commit
b55cfee291
@ -1,5 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec 2>&1
|
|
||||||
exec 1>&2
|
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
exec metalog ${OPTS=-v}
|
exec metalog ${OPTS} >/dev/null
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'metalog'
|
# Template file for 'metalog'
|
||||||
pkgname=metalog
|
pkgname=metalog
|
||||||
version=20230719
|
version=20230719
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
conf_files="/etc/metalog.conf"
|
conf_files="/etc/metalog.conf"
|
||||||
hostmakedepends="autoconf autoconf-archive automake pkg-config"
|
hostmakedepends="autoconf autoconf-archive automake pkg-config"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user