update error output
This commit is contained in:
parent
6ca1c6688f
commit
879637964d
1 changed files with 1 additions and 2 deletions
3
dotlink
3
dotlink
|
|
@ -60,8 +60,7 @@ dotfiles="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
|
|
||||||
# Check if dotfiles for machine exist
|
# Check if dotfiles for machine exist
|
||||||
if [ ! -d "$dotfiles/machines/$HOSTNAME" ]; then
|
if [ ! -d "$dotfiles/machines/$HOSTNAME" ]; then
|
||||||
error "No dotfiles for machine $text_bold$HOSTNAME$text_reset found"
|
error "No dotfiles for machine $text_bold$HOSTNAME$text_reset found, make sure the directory $text_bold$dotfiles/machines/$HOSTNAME$text_reset exists"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get dotfiles for current machine
|
# Get dotfiles for current machine
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue