diff options
author | Tom Hendrikx (whyscream) <tom@whyscream.net> | 2012-07-09 23:33:33 +0200 |
---|---|---|
committer | Tom Hendrikx (whyscream) <tom@whyscream.net> | 2012-07-09 23:33:33 +0200 |
commit | dbb19e669716d6491f531f63c2e725cee6bb8215 (patch) | |
tree | 38f7d4a41b76d8e47fbd751d5d34bb1bd26b7caf /net-dns/nsd/files/nsd.initd | |
parent | x11-plugins/pidgin-window_merge: Version bump for x11-plugins/pidgin-window_m... (diff) | |
download | sunrise-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.initd | 4 |
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 $? |