summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-06 14:05:01 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-06 14:05:01 (GMT)
commit9faa417aeb468be0ebb646ee3fc276014795e76f (patch)
tree5999e8d3d67ba45728920d94f3fc4ccb5bbac1cb
parentaba1ef97f3fdfea191fe8ace2a41551be3dab027 (diff)
downloadmonitoring-plugins-9faa417aeb468be0ebb646ee3fc276014795e76f.tar.gz
Remove useless return after crash
-rw-r--r--plugins-root/check_icmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index ce88bec..c71ea29 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -770,7 +770,6 @@ main(int argc, char **argv)
770 table = malloc(sizeof(struct rta_host *) * targets); 770 table = malloc(sizeof(struct rta_host *) * targets);
771 if(!table) { 771 if(!table) {
772 crash("main(): malloc failed for host table"); 772 crash("main(): malloc failed for host table");
773 return 3;
774 } 773 }
775 774
776 i = 0; 775 i = 0;