Commit 1f880278 authored by Jameson Rollins's avatar Jameson Rollins

rtcds: fix check for enabled rts systemd target

parent 4a184e71
......@@ -109,8 +109,8 @@ list_host_sys() {
check_host_sys() {
for sys ; do
if ! systemctl is-enabled "$sys" ; then
log "System '$sys' is not enabled on this system (enable first)."
if ! systemctl is-enabled rts@${sys}.target ; then
log "System '$sys' is not enabled on this system, first enable with 'enable ${sys}'."
exit 4
fi
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment