Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Cannot create a remote disk via VADP so that is a fatal error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Oct 2, 2015
1 parent 9c0b243 commit d5b1c01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vadp_dumper/bareos_vadp_dumper.cpp
Expand Up @@ -606,6 +606,11 @@ static inline void do_vixdisklib_create(const char *key, json_t *disk_params, ui
const char *disk_path;
VixDiskLibCreateParams createParams;

if (!local_vmdk) {
fprintf(stderr, "Cannot create a remote disk via VADP\n");
goto bail_out;
}

if (!vmdk_disk_name) {
json_t *object;

Expand Down

0 comments on commit d5b1c01

Please sign in to comment.