Module Name:    src
Committed By:   tron
Date:           Wed Oct  7 07:51:28 UTC 2009

Modified Files:
        src/etc/rc.d: staticroute

Log Message:
Add a "return 0" to avoid incorrect error returns because we ran out of
lines to read from "/etc/route.conf".


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/staticroute

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/rc.d/staticroute
diff -u src/etc/rc.d/staticroute:1.3 src/etc/rc.d/staticroute:1.4
--- src/etc/rc.d/staticroute:1.3	Thu Jan 31 15:21:32 2008
+++ src/etc/rc.d/staticroute	Wed Oct  7 07:51:28 2009
@@ -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 @@
 			esac
 		done < /etc/route.conf
 	fi
+
+	return 0
 }
 
 load_rc_config $name

Reply via email to