summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/nsd/files/nsd.cron')
-rw-r--r--net-dns/nsd/files/nsd.cron4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/nsd/files/nsd.cron b/net-dns/nsd/files/nsd.cron
index 158938a1e..71a7d4f26 100644
--- a/net-dns/nsd/files/nsd.cron
+++ b/net-dns/nsd/files/nsd.cron
@@ -5,6 +5,6 @@
#
my_nsdc="/usr/sbin/nsdc"
-if test -x ${my_nsdc}; then
- ${my_nsdc} patch 1>/dev/null
+if test -x ${my_nsdc} && ${my_nsdc} running 1> /dev/null; then
+ ${my_nsdc} patch 1> /dev/null
fi