Author: janderwald
Date: Thu Aug 30 02:38:44 2007
New Revision: 28663
URL:
http://svn.reactos.org/svn/reactos?rev=28663&view=rev
Log:
- always create a hdd image if theres no default one
Modified:
trunk/reactos/tools/sysreg/rosboot_test.cpp
Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_test.…
==============================================================================
--- trunk/reactos/tools/sysreg/rosboot_test.cpp (original)
+++ trunk/reactos/tools/sysreg/rosboot_test.cpp Thu Aug 30 02:38:44 2007
@@ -334,19 +334,15 @@
return true;
}
- if (m_CDImage.length())
- {
- /* ROS_CD_IMAGE is set but no ROS_HDD_IMAGE is set
- * so create hdd image */
- if (!createDefaultHDDImage())
- {
- /* failed to create hdd image */
- cerr << "Error: failed to create hdd image " <<
endl;
- return false;
- }
- getDefaultHDDImage(m_HDDImage);
- return true;
- }
+ if (!createDefaultHDDImage())
+ {
+ /* failed to create hdd image */
+ cerr << "Error: failed to create hdd image " << endl;
+ return false;
+ }
+ getDefaultHDDImage(m_HDDImage);
+ return true;
+
///
/// FIXME
/// scan m_BootCmd if theres -hda param provided