Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49741 - /trunk/storage/libstorage/src/LvmVg.cc
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Tue, 05 Aug 2008 20:31:41 -0000
  • Message-id: <20080805203141.3042639D1D@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Tue Aug 5 22:31:40 2008
New Revision: 49741

URL: http://svn.opensuse.org/viewcvs/yast?rev=49741&view=rev
Log:
- fixed shell quoting for vgcreate

Modified:
trunk/storage/libstorage/src/LvmVg.cc

Modified: trunk/storage/libstorage/src/LvmVg.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/LvmVg.cc?rev=49741&r1=49740&r2=49741&view=diff
==============================================================================
--- trunk/storage/libstorage/src/LvmVg.cc (original)
+++ trunk/storage/libstorage/src/LvmVg.cc Tue Aug 5 22:31:40 2008
@@ -997,7 +997,7 @@
{
if( !devices.empty() )
devices += " ";
- devices += p->device;
+ devices += quote(p->device);
ret = doCreatePv( p->device );
++p;
}
@@ -1010,7 +1010,7 @@
rmdir( ddir.c_str() );
}
string cmd = VGCREATEBIN " " + instSysString() + metaString() +
- "-s " + decString(pe_size) + "k " + quote(name()) + " " +
quote(devices);
+ "-s " + decString(pe_size) + "k " + quote(name()) + " " +
devices;
SystemCmd c( cmd );
if( c.retcode()!=0 )
{

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages