summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x00-pdnsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/00-pdnsd b/00-pdnsd
index 6022096d910b..ec2cff1c8e35 100755
--- a/00-pdnsd
+++ b/00-pdnsd
@@ -4,7 +4,7 @@ INTERFACE=$1
STATUS=$2
# $INIT should be either "init" (System V) or "systemd".
-INIT=`cat /proc/1/domm`
+INIT=`cat /proc/1/comm`
no_valid_init() {
echo 'No valid init system set. Please select either "init" or "systemd".'