aktin / aktin/debian-updateagent-pkg

ensure non-blocking execution

未关闭
#21 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Shell
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

The current scripts and architecture is coded around certain assumptions of the system. It is possible, that some scripts could unexpectedly return a error code that would exit the entire script, even cleanup afterwards resulting in a messy filesystem. We should consider ways to ensure important steps like cleanup are still possible, even on a failing command.

For that we need to consider
- what are the most important general steps to always perform no matter the execution state (like cleanup step)
- how to implement handlers, catching and logging failures, without terminating
- which commands could lead to those errors (see curl fetching a 404 error page or grep not finding the directory and so on)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。