[yast-commit] r49741 - /trunk/storage/libstorage/src/LvmVg.cc
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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org