summaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/mount.go b/mount.go
index b4b6e61..5bdaa51 100644
--- a/mount.go
+++ b/mount.go
@@ -116,6 +116,7 @@ func doMount(args *argContainer) {
tlog.Info.SwitchToSyslog(syslog.LOG_USER | syslog.LOG_INFO)
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)
// Daemons should redirect stdin, stdout and stderr
redirectStdFds()