summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lookup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lookup.c b/lookup.c
index 36d03da..7533bae 100644
--- a/lookup.c
+++ b/lookup.c
@@ -39,8 +39,10 @@ void lookup_init_ports(enum ports which)
file = lookup_port_files[which];
fp = fopen(file, "r");
- if (!fp)
- panic("No %s found!\n", file);
+ if (!fp) {
+ fprintf(stderr, "No %s found for ports resolving!\n", file);
+ return;
+ }
memset(buff, 0, sizeof(buff));