Skip to content
This repository was archived by the owner on Jul 2, 2019. It is now read-only.

Commit 0c52457

Browse files
committed
Merge branch 'nd/daemon-informative-errors-typofix'
* nd/daemon-informative-errors-typofix: daemon: be strict at parsing parameters --[no-]informative-errors
2 parents 666b4c2 + 82246b7 commit 0c52457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

daemon.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1278,11 +1278,11 @@ int main(int argc, char **argv)
12781278
make_service_overridable(arg + 18, 0);
12791279
continue;
12801280
}
1281-
if (starts_with(arg, "--informative-errors")) {
1281+
if (!strcmp(arg, "--informative-errors")) {
12821282
informative_errors = 1;
12831283
continue;
12841284
}
1285-
if (starts_with(arg, "--no-informative-errors")) {
1285+
if (!strcmp(arg, "--no-informative-errors")) {
12861286
informative_errors = 0;
12871287
continue;
12881288
}

0 commit comments

Comments
 (0)