From de9ab27f28b558062a788eec1a4ac0d97f9c4d44 Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Sun, 3 Jul 2022 22:41:19 +0200
Subject: [PATCH] Add --keep-going flag passthrough to deploy script

---
 bin/deploy | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/deploy b/bin/deploy
index 27792c8..2576f08 100755
--- a/bin/deploy
+++ b/bin/deploy
@@ -26,6 +26,7 @@ usage() {
 positional=()
 via_hostname=""
 substitute_on_destination=""
+keep_going=""
 show_trace=""
 while [[ $# -gt 0 ]]
 do
@@ -41,6 +42,9 @@ do
     --substitute-on-destination|-s)
       substitute_on_destination="--substitute-on-destination"
       ;;
+    --keep-going)
+      keep_going="--keep-going"
+      ;;
     --show-trace)
       show_trace="--show-trace"
       ;;
@@ -75,7 +79,7 @@ fi
 operation=$original_operation
 set_profile=""
 reboot=""
-readonly common_nix_flags=(--log-format bar-with-logs)
+readonly common_nix_flags=(--log-format bar-with-logs $keep_going)
 
 if [[ "$operation" = "switch" || "$operation" = "boot" ]]
 then
-- 
GitLab