Show Table of Contents
A.12. VDSM Hook 返回代码
Hook 脚本必须返回 表 A.3 “Hook 返回代码” 中包括的返回代码之一。返回代码将被用来决定后面的 hook 脚本是否要被 VDSM 处理。
表 A.3. Hook 返回代码
| 代码 | 描述 |
|---|---|
| 0 | hook 代码成功运行完毕 |
| 1 | hook 脚本运行失败,其它的 hook 脚本仍然需要被处理 |
| 2 | hook 脚本运行失败,其它的 hook 脚本不被处理 |
| >2 | 保留 |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.