Skip to content

Commit

Permalink
Fix: lrmd: Don't complain when heartbeat invokes us with -r
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed May 16, 2013
1 parent 9ce3edb commit 064b19e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lrmd/main.c
Expand Up @@ -233,6 +233,9 @@ static struct crm_option long_options[] = {
{"verbose", 0, 0, 'V', "\tIncrease debug output"},

{"logfile", 1, 0, 'l', "\tSend logs to the additional named logfile"},

/* For compatibility with the original lrmd */
{"dummy", 0, 0, 'r', NULL, 1},
{0, 0, 0, 0}
};
/* *INDENT-ON* */
Expand Down Expand Up @@ -261,6 +264,8 @@ main(int argc, char **argv)
}

switch (flag) {
case 'r':
break;
case 'l':
crm_add_logfile(optarg);
break;
Expand Down

0 comments on commit 064b19e

Please sign in to comment.