Skip to content

Commit

Permalink
Merge pull request freebsd#1045 from crees/poudriered_foreground_argu…
Browse files Browse the repository at this point in the history
…ment

Allow '-f' argument to run in foreground
  • Loading branch information
bdrewery authored May 11, 2023
2 parents f06ef9c + b68c94b commit 97404ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/poudriered/poudriered.c
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,10 @@ main(int argc, char **argv)

const ucl_object_t *sock_path_o, *pidfile_path_o, *foreground_o;

if (argc == 2 && strcmp(argv[1], "-f") == 0) {
foreground = true;
}

if (argc == 3) {
struct ucl_parser *parser = NULL;

Expand Down

0 comments on commit 97404ba

Please sign in to comment.