fix a typo in the previous commit.

This commit is contained in:
Gregory Nutt 2018-06-29 08:55:32 -06:00
parent 31ea6ec910
commit 715a2779d4

View File

@ -2,7 +2,7 @@
############################################################################
# tools/link.sh
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
# Copyright (C) 2008, 2018 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -102,10 +102,11 @@ if [ ! -h ${dest} ]; then
if [ -d ${dest} ]; then
# Create the .fakelnk for unlink.sh
touch ${dest}/.fakelnk
else
echo "Error: link at ${dest} not created."
exit 1
if
fi
fi