aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-11-04 15:36:17 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 04:27:45 +0200
commitc131b634d2b34e3b5161d3caf6efb98b2ec7a1ee (patch)
tree69d5534d2314b13965fd0fc647aa08c89c9c92f1
parentc04ccf2a56358595b0f7d43be9b584491cdd748f (diff)
Replace the 'syslog' facility (5) by 'user' (1).
'syslog' is meant for the messages generated internally by syslogd, whereas 'user' is for user-level messages.
-rw-r--r--src/fripost-partman-udeb/base.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fripost-partman-udeb/base.sh b/src/fripost-partman-udeb/base.sh
index 691ff32..bca1ea2 100644
--- a/src/fripost-partman-udeb/base.sh
+++ b/src/fripost-partman-udeb/base.sh
@@ -15,12 +15,12 @@ true ${DEBIAN_HAS_FRONTEND:=} ${DEBCONF_REDIR:=}
# Log a message.
log() {
- logger -t fripost -p syslog.info -- "$@"
+ logger -t fripost -p user.info -- "$@"
}
# Log a fatal error and quit.
fatal() {
- logger -t fripost -p syslog.err -- "$@"
+ logger -t fripost -p user.err -- "$@"
exit 1
}