summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/autoboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 6dbe25ca..91254382 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -178,6 +178,7 @@ int uriboot ( struct uri *filename, struct uri *root_path, int drive,
if ( filename ) {
if ( ( rc = imgdownload ( filename, 0, &image ) ) != 0 )
goto err_download;
+ imgstat ( image );
image->flags |= IMAGE_AUTO_UNREGISTER;
if ( ( rc = image_exec ( image ) ) != 0 ) {
printf ( "Could not boot image: %s\n",