diff options
author | Michal Sekletar <msekleta@redhat.com> | 2014-05-14 15:13:43 +0200 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2014-05-14 15:13:43 +0200 |
commit | f517790db5277fa71d6ae3617244f1acc4b62572 (patch) | |
tree | e944bf55a6320868072c42220ce450a3ce52b2b0 | |
parent | f4b442a95d85a73cbe3a75fb20812942900c4307 (diff) |
core: print debug instead of error message
In case that session scope is in some other state than SCOPE_RUNNING or
SCOPE_ABANDONED we will not print error message. It might be the case
that scope is in other state because systemd realized that scope is
empty before dispatching dbus call from pam hook. Or system is going
down and stop job is runnig for the scope and changed scope state to
SCOPE_STOP_SIGTERM or SCOPE_STOP_SIGKILL.
-rw-r--r-- | src/core/dbus-scope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c index 58dd9ff70..71d692187 100644 --- a/src/core/dbus-scope.c +++ b/src/core/dbus-scope.c @@ -76,7 +76,7 @@ DBusHandlerResult bus_scope_message_handler(Unit *u, DBusConnection *c, DBusMess r = scope_abandon(s); if (r < 0) - log_error("Failed to mark scope %s as abandoned : %s", UNIT(s)->id, strerror(-r)); + log_debug("Failed to mark scope %s as abandoned : Scope is not running", UNIT(s)->id); reply = dbus_message_new_method_return(message); if (!reply) |