diff --git a/dotfiles/run.sh b/dotfiles/run.sh index 9463439..4b480f4 100644 --- a/dotfiles/run.sh +++ b/dotfiles/run.sh @@ -18,6 +18,6 @@ if [ -n "$${DOTFILES_URI// }" ]; then CODER_BIN=$(which coder) DOTFILES_USER_HOME=$(eval echo ~"$DOTFILES_USER") - sudo -u "$DOTFILES_USER" sh -c "'$CODER_BIN' dotfiles '$DOTFILES_URI' -y 2>&1 | tee '$DOTFILES_USER_HOME'/.dotfiles.log" + sudo -u "$DOTFILES_USER" sh -c "'$CODER_BIN' dotfiles '$DOTFILES_URI' -y 2>&1 | tee '$DOTFILES_USER_HOME'/.dotfiles.log || true" fi fi diff --git a/git-clone/run.sh b/git-clone/run.sh index bd80717..316a7c7 100755 --- a/git-clone/run.sh +++ b/git-clone/run.sh @@ -9,7 +9,7 @@ CLONE_PATH="$${CLONE_PATH/#\~/$${HOME}}" # Check if the variable is empty... if [ -z "$REPO_URL" ]; then echo "No repository specified!" - exit 1 + exit 0 fi # Check if the variable is empty...