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
|
||||
if [ ! -d "$dotfiles/machines/$HOSTNAME" ]; then
|
||||
error "No dotfiles for machine $text_bold$HOSTNAME$text_reset found"
|
||||
exit 1
|
||||
error "No dotfiles for machine $text_bold$HOSTNAME$text_reset found, make sure the directory $text_bold$dotfiles/machines/$HOSTNAME$text_reset exists"
|
||||
fi
|
||||
|
||||
# Get dotfiles for current machine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue