Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion check_interfaces.c
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ void parse_and_check_commandline(int argc, char **argv, struct configuration_str
int opt;

char *progname = strrchr(argv[0], '/');
if (*progname && *(progname + 1)) {
if (progname != NULL && *progname && *(progname + 1)) {
progname++;
} else {
progname = "check_interfaces";
Expand Down