summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/lxc/lxc.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/lxc/lxc.initd b/main/lxc/lxc.initd
index 298051f1f..1b348894d 100644
--- a/main/lxc/lxc.initd
+++ b/main/lxc/lxc.initd
@@ -45,9 +45,9 @@ checkconfig() {
[ -z "${CONFIGFILE}" ] && return 1
utsname=$(lxc_get_var lxc.utsname)
- if [ ${CONTAINER} != ${utsname} ]; then
+ if [ "${CONTAINER}" != "${utsname}" ]; then
eerror "You should use the same name for the service and the"
- eerror "container. Right now the container is called ${utsname}"
+ eerror "lxc.utsname. Right now the lxc.utsname is set to ${utsname}"
return 1
fi
}