From 4148c4bd07a41b5411f07a7027a0df1b0515a423 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 7 Feb 2026 17:44:17 +0100 Subject: [PATCH] Fixed the hanging block --- nix-system-configs/modules/scripts/pull.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix-system-configs/modules/scripts/pull.zsh b/nix-system-configs/modules/scripts/pull.zsh index 6a15763..15548fb 100644 --- a/nix-system-configs/modules/scripts/pull.zsh +++ b/nix-system-configs/modules/scripts/pull.zsh @@ -127,6 +127,12 @@ if [[ -d "$SECRETS_DIR" ]]; then print_success "Secrets synced" else print_error "Failed to sync secrets" + exit 1 + fi +else + print_warn "Secrets directory not found: ${SECRETS_DIR}" +fi + # Step 3: Copy configuration source_file="${SYSTEM_DIR}/${selected_system}.nix"