Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Add a "return 0" to avoid incorrect error returns b...
details: https://anonhg.NetBSD.org/src/rev/1b50744bb572
branches: trunk
changeset: 747961:1b50744bb572
user: tron <tron%NetBSD.org@localhost>
date: Wed Oct 07 07:51:28 2009 +0000
description:
Add a "return 0" to avoid incorrect error returns because we ran out of
lines to read from "/etc/route.conf".
diffstat:
etc/rc.d/staticroute | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 13ef198c5ca4 -r 1b50744bb572 etc/rc.d/staticroute
--- a/etc/rc.d/staticroute Wed Oct 07 04:56:51 2009 +0000
+++ b/etc/rc.d/staticroute Wed Oct 07 07:51:28 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index