X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3b356352e87ae00a20f737c48e19b0c8413455a..0621557a3bed9466230014dd0e70d2d7186c9bd4:/teshsuite/msg/host_on_off/host_on_off_wait.c diff --git a/teshsuite/msg/host_on_off/host_on_off_wait.c b/teshsuite/msg/host_on_off/host_on_off_wait.c index 0733dcdcf4..5c35cb9408 100644 --- a/teshsuite/msg/host_on_off/host_on_off_wait.c +++ b/teshsuite/msg/host_on_off/host_on_off_wait.c @@ -25,10 +25,7 @@ int master(int argc, char *argv[]) TRY { msg_host_t jupiter = MSG_host_by_name("Jupiter"); XBT_INFO("Master waiting"); - if(MSG_process_sleep(1)) { - XBT_ERROR("Unexpected error while sleeping"); - return 1; - } + MSG_process_sleep(1); XBT_INFO("Turning off the slave host"); MSG_host_off(jupiter);