summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-05-17 15:51:53 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-05-17 15:51:53 +0200
commitb3ad2fb990b193906c3243673ac15b056eb148dc (patch)
treef95770c44e6fe5c36bd480239ab1dfe15af265fa /src/lib
parentda8bc03e7da479c42969f896f6191d04cd462df3 (diff)
downloadabrt-b3ad2fb990b193906c3243673ac15b056eb148dc.tar.gz
abrt-b3ad2fb990b193906c3243673ac15b056eb148dc.tar.xz
abrt-b3ad2fb990b193906c3243673ac15b056eb148dc.zip
smart_event.conf: suppress stray output of "which" command
Also, fix some typos in comments Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/abrt_dbus.h2
-rw-r--r--src/lib/run_event.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/abrt_dbus.h b/src/lib/abrt_dbus.h
index 37d12756..b7e7b566 100644
--- a/src/lib/abrt_dbus.h
+++ b/src/lib/abrt_dbus.h
@@ -50,7 +50,7 @@ extern DBusConnection* g_dbus_conn;
* conn = dbus_bus_get(DBUS_BUS_SYSTEM/SESSION, &err);
* // needed only if you need to use async dbus calls (not shown below):
* attach_dbus_conn_to_glib_main_loop(conn, NULL, NULL);
- * // syncronous method call:
+ * // synchronous method call:
* msg = dbus_message_new_method_call("some.serv", "/path/on/serv", "optional.iface.on.serv", "method_name");
* reply = dbus_connection_send_with_reply_and_block(conn, msg, timeout, &err);
* // emitting signal:
diff --git a/src/lib/run_event.c b/src/lib/run_event.c
index e577c383..883dc6d0 100644
--- a/src/lib/run_event.c
+++ b/src/lib/run_event.c
@@ -34,10 +34,10 @@ void free_run_event_state(struct run_event_state *state)
}
-/* Asyncronous command execution */
+/* Asynchronous command execution */
/* It is not yet clear whether we need to re-parse event config file
- * and re-check the elements in dump dir after each comamnd.
+ * and re-check the elements in dump dir after each command.
*
* Consider this config file:
*
@@ -322,9 +322,7 @@ int run_event_on_dir_name(struct run_event_state *state,
if (WIFSIGNALED(status))
retval = WTERMSIG(status) + 128;
if (retval != 0)
- {
break;
- }
if (state->post_run_callback)
{