mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
path: fix check
This commit is contained in:
parent
2c2ef72e9e
commit
d7deec4318
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ int path_parse(struct vpath *p, json_t *cfg, struct vlist *nodes)
|
|||
for (size_t i = 0; i < vlist_length(&destinations); i++) {
|
||||
struct node *n = (struct node *) vlist_at(&destinations, i);
|
||||
|
||||
if (!n->output_path)
|
||||
if (n->output_path)
|
||||
throw ConfigError(cfg, "node-config-path", "Every node must only be used by a single path as destination");
|
||||
|
||||
auto *pd = new struct vpath_destination;
|
||||
|
|
Loading…
Add table
Reference in a new issue