diff --git a/abra b/abra index 54402be..8195c52 100755 --- a/abra +++ b/abra @@ -435,7 +435,10 @@ sub_app_new (){ # FIXME 3wc: move to require_app_clone or something warning "'$APP' not found, fetching via git.." - git clone "$GIT_URL/$APP.git" "$ABRA_DIR/apps/$APP" + if ! git clone "$GIT_URL/$APP.git" "$ABRA_DIR/apps/$APP"; then + error "Could not retrieve '$APP', this app doesn't exist?" + fi + fi if [ -z "$DOMAIN" ]; then