X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=src%2Finstaller%2Fhw.c;h=06bf42b6784fafa4c39d43a50938b50f5c6aed63;hp=362be4779f14119e2582fe04eb6c4ecb367ce011;hb=fb76fc5144d9b072cace93c008da90aa4ccfcbfa;hpb=f754146b1eee3f7a78424959633680f593f36d92 diff --git a/src/installer/hw.c b/src/installer/hw.c index 362be4779f..06bf42b678 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -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) {