Browse Source

respondd: exit on unknown command line parameters

pull/222/head
Matthias Schiffer 3 years ago
parent
commit
cf3e8d1a08
No known key found for this signature in database GPG Key ID: 16EF3F64CB201D9C
  1. 3
      net/respondd/src/respondd.c

3
net/respondd/src/respondd.c

@ -741,7 +741,8 @@ int main(int argc, char **argv) {
break;
default:
fprintf(stderr, "Invalid parameter -%c ignored.\n", optopt);
fprintf(stderr, "Invalid parameter -%c.\n", optopt);
exit(EXIT_FAILURE);
}
}

Loading…
Cancel
Save