VirtualBox

Ignore:
Timestamp:
Aug 5, 2008 4:13:26 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34105
Message:

FE/VBoxManage: use proper return value for converttoraw command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp

    r11136 r11138  
    13511351    {
    13521352        RTPrintf("Error while creating the virtual disk container: %Vrc\n", vrc);
    1353         return vrc;
     1353        return 1;
    13541354    }
    13551355
     
    13651365        VDCloseAll(pDisk);
    13661366        RTPrintf("Error while creating destination file \"%s\": %Vrc\n", Utf8Str(dst).raw(), vrc);
    1367         return vrc;
     1367        return 1;
    13681368    }
    13691369
     
    13811381            }
    13821382            RTPrintf("No file format specified and autodetect failed - please specify format: %Vrc\n", vrc);
    1383             return vrc;
     1383            return 1;
    13841384        }
    13851385        srcformat = pszFormat;
     
    13961396        }
    13971397        RTPrintf("Error while opening the source image: %Vrc\n", vrc);
    1398         return vrc;
     1398        return 1;
    13991399    }
    14001400
     
    14271427            }
    14281428            RTPrintf("Error copying image data: %Vrc\n", vrc);
    1429             return vrc;
     1429            return 1;
    14301430        }
    14311431    }
     
    14401440        }
    14411441        RTPrintf("Error allocating read buffer: %Vrc\n", vrc);
    1442         return vrc;
     1442        return 1;
    14431443    }
    14441444
     
    14461446        RTFileClose(outFile);
    14471447    VDCloseAll(pDisk);
    1448     return vrc;
     1448    return 0;
    14491449}
    14501450
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette