Skip to content

Commit

Permalink
Make systemd actions more clear, and do not mark apps active when sto…
Browse files Browse the repository at this point in the history
…pping

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Sep 19, 2013
1 parent d9e9400 commit c337126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/usb_moded-appsync.c
Expand Up @@ -324,7 +324,7 @@ int appsync_stop(void)
if(data->systemd)
{
if(!systemd_control_service(data->name, SYSTEMD_STOP))
mark_active(data->name);
log_debug("Failed to stop %s\n", data->name);
}
#ifdef UPSTART
else if(data->upstart)
Expand Down
2 changes: 1 addition & 1 deletion src/usb_moded-systemd.c
Expand Up @@ -67,7 +67,7 @@ int systemd_control_service(const char *name, const char *method)

dbus_error_init(&error);

log_debug("Launching %s, with systemd\n", name);
log_debug("Handling %s, with systemd, method %s\n", name, method);

bus = get_systemd_dbus_connection();

Expand Down

0 comments on commit c337126

Please sign in to comment.