aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`