summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/system/on-dhcp-event.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/on-dhcp-event.sh b/src/system/on-dhcp-event.sh
index 5046912a6..1ccc7acf2 100755
--- a/src/system/on-dhcp-event.sh
+++ b/src/system/on-dhcp-event.sh
@@ -61,7 +61,7 @@ esac
if [ $changes -gt 0 ]; then
echo Success
- pid=`pgrep pdns_recursor`
+ pid=`pgrep pdns`
if [ -n "$pid" ]; then
sudo rec_control reload-zones
fi