please make ubuntu-vm-build fail if the script in --exec fails
Bug #228675 reported by
Michael Vogt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-vm-builder (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: ubuntu-vm-builder
Please make ubuntu-vm-build fail if the script in --exec fails. If you worry about backward compatibility please add a new option --must-
I'm happy to provide a patch if you accept my proposal.
Thanks,
Michael
Changed in ubuntu-vm-builder: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-vm-builder: | |
assignee: | nijaba → nobody |
To post a comment you must log in.
Because I need this in my local project I added it quickly, here is the diff:
=== modified file 'ubuntu-vm-builder'
--- ubuntu-vm-builder 2008-04-04 15:49:13 +0000
+++ ubuntu-vm-builder 2008-05-09 13:37:00 +0000
@@ -786,7 +786,7 @@
#
# Execute the script.
#
- "$EXEC"
+ "$EXEC" || exit 1
}
mount_parts () {