cleanup: logs
This commit is contained in:
parent
2441be2ad0
commit
379ce30715
2 changed files with 1 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ if [ -d "/run/user/$(id -u)/keyring" ]; then
|
||||||
|
|
||||||
# Use PATH lookup instead of hardcoding /usr/bin
|
# Use PATH lookup instead of hardcoding /usr/bin
|
||||||
if command -v gnome-keyring-daemon >/dev/null 2>&1; then
|
if command -v gnome-keyring-daemon >/dev/null 2>&1; then
|
||||||
eval "$(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)"
|
eval "$(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh > /dev/null 2>&1)"
|
||||||
else
|
else
|
||||||
echo "gnome-keyring-daemon not found in PATH" >&2
|
echo "gnome-keyring-daemon not found in PATH" >&2
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@ async fn main() -> Result<()> {
|
||||||
if let Ok(journald) = tracing_journald::layer() {
|
if let Ok(journald) = tracing_journald::layer() {
|
||||||
trace
|
trace
|
||||||
.with(journald)
|
.with(journald)
|
||||||
.with(fmt::layer())
|
|
||||||
.with(env_filter)
|
.with(env_filter)
|
||||||
.try_init()
|
.try_init()
|
||||||
.wrap_err("failed to initialize logger")?;
|
.wrap_err("failed to initialize logger")?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue