Revision ad81a23e example/instance-image.d/grub
b/example/instance-image.d/grub | ||
---|---|---|
37 | 37 |
exit 0 |
38 | 38 |
fi |
39 | 39 |
|
40 |
if [ -z "${TARGET}" -o -d "${TARGET}" ] ; then |
|
40 |
if [ -z "${TARGET}" -o ! -d "${TARGET}" ] ; then
|
|
41 | 41 |
log_error "Missing target directory" |
42 | 42 |
exit 1 |
43 | 43 |
fi |
Also available in: Unified diff