From 9435d86beb24c5643e45246aae43197c55e01ad1 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 7 Oct 2009 07:51:28 +0000 Subject: [PATCH] Add a "return 0" to avoid incorrect error returns because we ran out of lines to read from "/etc/route.conf". --- etc/rc.d/staticroute | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/rc.d/staticroute b/etc/rc.d/staticroute index 775700320295..ba32e4640c59 100755 --- a/etc/rc.d/staticroute +++ b/etc/rc.d/staticroute @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: staticroute,v 1.3 2008/01/31 15:21:32 reed Exp $ +# $NetBSD: staticroute,v 1.4 2009/10/07 07:51:28 tron Exp $ # # PROVIDE: staticroute @@ -35,6 +35,8 @@ staticroute_doit() { esac done < /etc/route.conf fi + + return 0 } load_rc_config $name