A.12. VDSM Hook Return Codes

Hook scripts must return one of the return codes shown in Table A.3, “Hook Return Codes”. The return code will determine whether further hook scripts are processed by VDSM.

Table A.3. Hook Return Codes

CodeDescription

0

The hook script ended successfully

1

The hook script failed, other hooks should be processed

2

The hook script failed, no further hooks should be processed

>2

Reserved