diff options
-rw-r--r-- | lib/utils/run_event.c | 10 | ||||
-rw-r--r-- | src/daemon/abrt-handle-crashdump.c | 4 | ||||
-rw-r--r-- | src/daemon/abrt_event.conf (renamed from src/daemon/abrt_action.conf) | 0 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/utils/run_event.c b/lib/utils/run_event.c index f8ad443e..4ad2e270 100644 --- a/lib/utils/run_event.c +++ b/lib/utils/run_event.c @@ -22,10 +22,10 @@ int run_event(struct run_event_state *state, const char *dump_dir_name, const char *event ) { - FILE *conffile = fopen(CONF_DIR"/abrt_action.conf", "r"); + FILE *conffile = fopen(CONF_DIR"/abrt_event.conf", "r"); if (!conffile) { - error_msg("Can't open '%s'", CONF_DIR"/abrt_action.conf"); + error_msg("Can't open '%s'", CONF_DIR"/abrt_event.conf"); return 1; } close_on_exec_on(fileno(conffile)); @@ -40,7 +40,7 @@ int run_event(struct run_event_state *state, free(full_name); /*setenv("EVENT", event, 1); - is this useful for children to know? */ - /* Read, match, and execute lines from abrt_action.conf */ + /* Read, match, and execute lines from abrt_event.conf */ int retval = 0; struct dump_dir *dd = NULL; char *line; @@ -169,10 +169,10 @@ int run_event(struct run_event_state *state, char *list_possible_events(const char *pfx) { - FILE *conffile = fopen(CONF_DIR"/abrt_action.conf", "r"); + FILE *conffile = fopen(CONF_DIR"/abrt_event.conf", "r"); if (!conffile) { - error_msg("Can't open '%s'", CONF_DIR"/abrt_action.conf"); + error_msg("Can't open '%s'", CONF_DIR"/abrt_event.conf"); return NULL; } diff --git a/src/daemon/abrt-handle-crashdump.c b/src/daemon/abrt-handle-crashdump.c index 8d42633d..196731de 100644 --- a/src/daemon/abrt-handle-crashdump.c +++ b/src/daemon/abrt-handle-crashdump.c @@ -22,7 +22,7 @@ #define PROGNAME "abrt-handle-crashdump" static const char *dump_dir_name = "."; -//static const char *conf_filename = CONF_DIR"/abrt_action.conf"; +//static const char *conf_filename = CONF_DIR"/abrt_event.conf"; static const char *event; static const char *pfx = ""; @@ -42,7 +42,7 @@ int main(int argc, char **argv) PROGNAME" [-vs]" /*" [-c CONFFILE]"*/ " -d DIR -e EVENT\n" " or: "PROGNAME" [-vs]" /*" [-c CONFFILE]"*/ " -l[PFX]\n" "\n" - "Handle crash dump according to rules in abrt_action.conf"); + "Handle crash dump according to rules in abrt_event.conf"); enum { OPT_v = 1 << 0, OPT_s = 1 << 1, diff --git a/src/daemon/abrt_action.conf b/src/daemon/abrt_event.conf index a8df2896..a8df2896 100644 --- a/src/daemon/abrt_action.conf +++ b/src/daemon/abrt_event.conf |