Revision 0468a748 snf-image-helper/snf-image-helper.in
b/snf-image-helper/snf-image-helper.in | ||
---|---|---|
67 | 67 |
log_error "run-parts programe is missing from the system" |
68 | 68 |
fi |
69 | 69 |
|
70 |
# If something goes wrong with the tasks, try to umount the target filesystem |
|
71 |
# in case it is left mounted... |
|
72 |
trap '{ umount $target; }' ERR |
|
73 |
|
|
70 | 74 |
echo "Execute all snf-image tasks...." |
71 | 75 |
$RUN_PARTS -v --exit-on-error "@tasksdir@" |
72 | 76 |
|
Also available in: Unified diff