aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2023-06-19 07:49:35 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2023-06-19 07:49:35 +0000
commit79a96e294c1acb4a2d17447a35f08647a6d09978 (patch)
tree9e79244faa4f1ac19ed340189ba871baaeff4b46 /libexec/rc
parentc9fdd4f3cc18c03683de85318ba8d318f96b58c4 (diff)
Diffstat (limited to 'libexec/rc')
-rwxr-xr-xlibexec/rc/rc.d/motd8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/rc/rc.d/motd b/libexec/rc/rc.d/motd
index e27cf273741d..da050882c367 100755
--- a/libexec/rc/rc.d/motd
+++ b/libexec/rc/rc.d/motd
@@ -38,10 +38,10 @@ motd_start()
# Otherwise, create an empty template file.
install -c -o root -g wheel -m ${PERMS} /dev/null "${TEMPLATE}"
fi
- # Provide compatibility symlink:
- if [ ! -h "${COMPAT_MOTD}" ]; then
- ln -sF "${TARGET}" "${COMPAT_MOTD}"
- fi
+ fi
+ # Provide compatibility symlink:
+ if [ ! -h "${COMPAT_MOTD}" ]; then
+ ln -sF "${TARGET}" "${COMPAT_MOTD}"
fi
T=`mktemp -t motd`