diff options
Diffstat (limited to 'src/fs/test_gnunet_service_fs_migration.c')
-rw-r--r-- | src/fs/test_gnunet_service_fs_migration.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c index 69fd4619a..31e971a98 100644 --- a/src/fs/test_gnunet_service_fs_migration.c +++ b/src/fs/test_gnunet_service_fs_migration.c | |||
@@ -145,6 +145,9 @@ stop_source_peer (void *cls, | |||
145 | { | 145 | { |
146 | struct DownloadContext *dc = cls; | 146 | struct DownloadContext *dc = cls; |
147 | 147 | ||
148 | /* Do not interact with testbed when shutting down */ | ||
149 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | ||
150 | return; | ||
148 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 151 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
149 | "Stopping source peer\n"); | 152 | "Stopping source peer\n"); |
150 | op = GNUNET_TESTBED_peer_stop (NULL, daemons[1], &do_download, dc); | 153 | op = GNUNET_TESTBED_peer_stop (NULL, daemons[1], &do_download, dc); |