mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-04 14:03:16 +00:00
exit(2) on unsupported positional arguments on command line
Change-Id: I5398edac755280d2982285802516681aa5255470
This commit is contained in:
@@ -132,6 +132,10 @@ static void handle_options(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
if (argc > optind) {
|
||||||
|
fprintf(stderr, "Unsupported positional arguments on command line\n");
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Callback function to be called when the RSIP ("Reset in Progress") mgcp
|
/* Callback function to be called when the RSIP ("Reset in Progress") mgcp
|
||||||
|
|||||||
Reference in New Issue
Block a user