summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-10-24 12:11:42 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-10-24 12:11:42 +0200
commiteb6498ff8b3c972f3eb451f04b03788a36fc9108 (patch)
treed3c818254c535639f88a337e0f97c7243fc06193 /bin
parent48a0c475f2b7d7fc16924cc05beaadac85eca400 (diff)
ufo-launch: do not execute graph when --dump'ing
Diffstat (limited to 'bin')
-rw-r--r--bin/ufo-launch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ufo-launch.c b/bin/ufo-launch.c
index 06cb4af..d4c0d9e 100644
--- a/bin/ufo-launch.c
+++ b/bin/ufo-launch.c
@@ -407,7 +407,8 @@ main(int argc, char* argv[])
ufo_base_scheduler_set_resources (sched, resources);
}
- ufo_base_scheduler_run (sched, graph, &error);
+ if (!dump)
+ ufo_base_scheduler_run (sched, graph, &error);
if (error != NULL) {
g_print ("Error executing pipeline: %s\n", error->message);