From 879637964d83bf20e91e065d59ea5a275c8a5b4a Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Mon, 1 Nov 2021 21:36:00 +0100 Subject: [PATCH] update error output --- dotlink | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotlink b/dotlink index 79f584c..c090a21 100755 --- a/dotlink +++ b/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