diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2015-08-04 15:26:55 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2015-08-04 15:26:55 +0000 |
commit | 7057c218dc0e04b4eb073a67b6c9ed3048f46123 (patch) | |
tree | 02b409cee63ce1e7bcf474664ff6b77399ba87bd /src/fs | |
parent | 406b957adf0132cc626e5d07b9facf21c0024966 (diff) | |
download | gnunet-7057c218dc0e04b4eb073a67b6c9ed3048f46123.tar.gz gnunet-7057c218dc0e04b4eb073a67b6c9ed3048f46123.zip |
-fix #3722
Diffstat (limited to 'src/fs')
-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); |