[monojob] Add timeout parameter to monojob_wait()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-11-01 01:55:13 +00:00
parent 5674a3c087
commit d1be9f4acc
8 changed files with 26 additions and 18 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ int imgdownload ( struct uri *uri, struct image **image ) {
}
/* Wait for download to complete */
if ( ( rc = monojob_wait ( uri_string_redacted ) ) != 0 )
if ( ( rc = monojob_wait ( uri_string_redacted, 0 ) ) != 0 )
goto err_monojob_wait;
/* Register image */