diff --git a/convert-stage-4.sh b/convert-stage-4.sh index a6b7498..d52a59d 100755 --- a/convert-stage-4.sh +++ b/convert-stage-4.sh @@ -206,7 +206,7 @@ install_files() { fi if [ -e "${primary_dir}/${sysconfdir}/server.crt" ]; then - jq_inplace '.ServerCertificate = \"'${primary_dir}'/'${sysconfdir}'/server.crt\"' ${primary_dir}/${sysconfdir}/mender.conf + jq_inplace '.ServerCertificate = \"/'${sysconfdir}'/server.crt\"' ${primary_dir}/${sysconfdir}/mender.conf fi }