]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/installer/hw.c
installer: Fix detection if we have the correct ISO image mounted
[ipfire-2.x.git] / src / installer / hw.c
index 362be4779f14119e2582fe04eb6c4ecb367ce011..06bf42b6784fafa4c39d43a50938b50f5c6aed63 100644 (file)
@@ -165,7 +165,7 @@ static int hw_test_source_medium(const char* path) {
        // Umount the test device.
        hw_umount(SOURCE_MOUNT_PATH);
 
-       return (ret == 0);
+       return ret;
 }
 
 char* hw_find_source_medium(struct hw* hw) {