aboutsummaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-05-18 18:38:23 +0200
committerJakob Unterwurzacher2021-05-18 18:38:23 +0200
commit0650a512bbf5a49031d47afac538a92e0994757a (patch)
tree53ea16ddce8f7b714301a929f8374a20921779a8 /mount.go
parent5da20da977ae5c870bc2009cd540cb5fe9aae79b (diff)
fsck: redirect go-fuse noise to syslog
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount.go b/mount.go
index 9409471..f992f94 100644
--- a/mount.go
+++ b/mount.go
@@ -143,7 +143,7 @@ func doMount(args *argContainer) {
tlog.Debug.SwitchToSyslog(syslog.LOG_USER | syslog.LOG_DEBUG)
tlog.Warn.SwitchToSyslog(syslog.LOG_USER | syslog.LOG_WARNING)
tlog.Fatal.SwitchToSyslog(syslog.LOG_USER | syslog.LOG_CRIT)
- tlog.SwitchLoggerToSyslog(syslog.LOG_USER | syslog.LOG_WARNING)
+ tlog.SwitchLoggerToSyslog()
// Daemons should redirect stdin, stdout and stderr
redirectStdFds()
}