diff options
author | Cem Keylan <cem@ckyln.com> | 2022-01-10 17:28:04 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-01-10 17:28:04 +0300 |
commit | 9f8f9ce4992f4775cb3f1a22c50499663b12c0dc (patch) | |
tree | 0392b198498adb651a18c80973db1b80bd4faa0e /core/carbs-init/files | |
parent | 11706b43e698e12eb03bfcf3c2987a665f22b8d3 (diff) | |
download | repository-9f8f9ce4992f4775cb3f1a22c50499663b12c0dc.tar.gz |
carbs-init: apply patch
Diffstat (limited to 'core/carbs-init/files')
-rw-r--r-- | core/carbs-init/files/respawn-fix.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/core/carbs-init/files/respawn-fix.patch b/core/carbs-init/files/respawn-fix.patch deleted file mode 100644 index 12761e89..00000000 --- a/core/carbs-init/files/respawn-fix.patch +++ /dev/null @@ -1,28 +0,0 @@ -From cab27917dc954294e92c3979570841b85f67619d Mon Sep 17 00:00:00 2001 -From: Cem Keylan <cem@ckyln.com> -Date: Thu, 17 Sep 2020 00:14:49 +0300 -Subject: [PATCH] respawn: handle errors - ---- - contrib/respawn | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/contrib/respawn b/contrib/respawn -index 1b914ea..4126cdb 100644 ---- a/contrib/respawn -+++ b/contrib/respawn -@@ -18,6 +18,10 @@ case "$1" in - esac - - while :; do -- "$@" -+ "$@" || err=$? -+ case $err in -+ # Usually Ctrl+C interrupt. -+ 12[7-9]|130) exit 0 -+ esac - [ "$delay" ] && sleep "$delay" - done --- -2.28.0 - |