summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hendrikx (whyscream) <tom@whyscream.net>2012-07-09 23:33:33 +0200
committerTom Hendrikx (whyscream) <tom@whyscream.net>2012-07-09 23:33:33 +0200
commitdbb19e669716d6491f531f63c2e725cee6bb8215 (patch)
tree38f7d4a41b76d8e47fbd751d5d34bb1bd26b7caf /net-dns/nsd/files/nsd.initd
parentx11-plugins/pidgin-window_merge: Version bump for x11-plugins/pidgin-window_m... (diff)
downloadsunrise-dbb19e669716d6491f531f63c2e725cee6bb8215.tar.gz
sunrise-dbb19e669716d6491f531f63c2e725cee6bb8215.tar.bz2
sunrise-dbb19e669716d6491f531f63c2e725cee6bb8215.zip
net-dns/nsd: version bump, new USE flags, and minor init.d fix
Diffstat (limited to 'net-dns/nsd/files/nsd.initd')
-rw-r--r--net-dns/nsd/files/nsd.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/nsd/files/nsd.initd b/net-dns/nsd/files/nsd.initd
index 1b827db65..891df962e 100644
--- a/net-dns/nsd/files/nsd.initd
+++ b/net-dns/nsd/files/nsd.initd
@@ -37,7 +37,7 @@ _checkdb() {
local database=$(${my_nsd_checkconf} -o database ${config_file})
if ! test -f $database; then
eerror "You have no database file in ${database}, will try to rebuild"
- _rebuild
+ rebuild
fi
return 0
}
@@ -63,7 +63,7 @@ rebuild() {
start() {
ebegin "Starting NSD"
_checkconf || return 1
- _checkdb || rebuild || return 1
+ _checkdb || return 1
${my_nsdc} start
${my_nsdc} running
eend $?