-
Notifications
You must be signed in to change notification settings - Fork 30
Custom script exit codes are ignored #272
Copy link
Copy link
Open
Description
Environment
- Provisioner version: 2.2.0
- Provisioning style: naked
- Target device: Raspberry Pi 5
- Target storage: NVMe/SD card
- Provisioning host: Raspberry Pi 5 running Raspberry Pi OS Trixie
Description
It appears that the exit codes returned by custom scripts are ignored by the provisioning process. When a custom script terminates with a non-zero exit code (for example exit 1), the script is still treated as successful and the provisioning continues.
Expected Behavior
If a custom script exits with a non-zero status code, the provisioning process should fail and stop.
Actual Behavior
The provisioning process continues even when the custom script exits with a failure code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels