]> git.ipfire.org Git - people/jschlag/ipfire-3.x-image.git/commitdiff
Fix the function which converts the images
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sun, 18 Nov 2018 17:26:19 +0000 (17:26 +0000)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Sun, 18 Nov 2018 17:26:19 +0000 (17:26 +0000)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
generate_image.sh

index ddb3813f9209b019b49af2823fc505218ec6cde7..b99cc8bb57f371cee78d2a7adb23d11e6e556405 100755 (executable)
@@ -201,6 +201,7 @@ convert_image() {
        if [[ ${type} = "img" ]]; then
                # We do not need to convert the image here but we need to rename
                mv -f ${from} ${to}.${type}
+               return $?
        fi
 
        if [[ ${type} = "qcow2" ]]; then