Revision de7269cd snf-image-helper/tasks/40FilesystemResizeMounted.in
b/snf-image-helper/tasks/40FilesystemResizeMounted.in | ||
---|---|---|
14 | 14 |
log_error "Target directory \`$SNF_IMAGE_TARGET' is missing" |
15 | 15 |
fi |
16 | 16 |
|
17 |
if [ "$SNF_IMAGE_PROPERTY_OSFAMILY" != "windows" ]; then |
|
18 |
exit 0 |
|
19 |
fi |
|
20 |
|
|
17 | 21 |
last_partition=$(get_last_partition "$SNF_IMAGE_DEV") |
18 | 22 |
id=$(echo "$last_partition" | cut -d: -f1) |
19 | 23 |
ptype=$(echo "$last_partition" | cut -d: -f5) |
... | ... | |
30 | 34 |
EOF |
31 | 35 |
fi |
32 | 36 |
|
33 |
cleanup |
|
34 |
trap - EXIT |
|
35 |
|
|
36 | 37 |
exit 0 |
37 | 38 |
|
38 | 39 |
# vim: set sta sts=4 shiftwidth=4 sw=4 et ai : |
Also available in: Unified diff