grep for ntpd
[mirror/dsa-puppet.git] / modules / ntp / files / ntp-restart-if-required
index f8ea5cc..f541c06 100755 (executable)
@@ -7,7 +7,7 @@ rc=$?
 
 case "$rc" in
   1|2)
-    pid=$(pgrep -u ntp ntp)
+    pid=$(pgrep -u ntp ntpd)
     if [ -z "$pid" ]; then
       service ntp restart
       exit