exit(EXIT_FAILURE);
}
- unsigned int tmp;
+ unsigned int num2;
if (getopts.numArgs() == 0)
{
- tmp = command_create_single_xsnapshot_of_default(*conn, config_name, true, description,
- cleanup, userdata);
+ command_create_single_xsnapshot_of_default(*conn, config_name, true, description, cleanup,
+ userdata);
+
+ num2 = command_create_single_xsnapshot_v2(*conn, config_name, 0, false, description,
+ cleanup, userdata);
}
else
{
- tmp = read_num(getopts.popArg());
+ unsigned int tmp = read_num(getopts.popArg());
command_create_single_xsnapshot(*conn, config_name, description, cleanup, userdata);
- }
- unsigned int num2 = command_create_single_xsnapshot_v2(*conn, config_name, tmp, false,
- description, cleanup, userdata);
+ num2 = command_create_single_xsnapshot_v2(*conn, config_name, tmp, false,
+ description, cleanup, userdata);
+ }
filesystem->setDefault(num2);
<itemizedlist>
<listitem>
<para>Without a number, a first read-only snapshot of the
- default subvolume is created. A second read-write snapshot is created of the
- first snapshot. The system is set to boot from the second snapshot.</para>
+ default subvolume is created. A second read-write snapshot of the current
+ system is created. The system is set to boot from the second snapshot.</para>
</listitem>
<listitem>
<para>With a number, a first read-only snapshot of the current
+-------------------------------------------------------------------
+Thu Apr 17 15:00:25 CEST 2014 - aschnell@suse.de
+
+- fixed parent of snapshot generated by rollback
+
-------------------------------------------------------------------
Thu Apr 10 10:17:49 CEST 2014 - aschnell@suse.de