Mailinglist Archive: yast-commit (1095 mails)

< Previous Next >
[yast-commit] r52324 - /trunk/storage/libstorage/src/Volume.cc
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Fri, 17 Oct 2008 09:30:43 -0000
  • Message-id: <20081017093043.9A2B12F07E@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Fri Oct 17 11:30:43 2008
New Revision: 52324

URL: http://svn.opensuse.org/viewcvs/yast?rev=52324&view=rev
Log:
- shell-quote label for xfs_admin

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

Modified: trunk/storage/libstorage/src/Volume.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Volume.cc?rev=52324&r1=52323&r2=52324&view=diff
==============================================================================
--- trunk/storage/libstorage/src/Volume.cc (original)
+++ trunk/storage/libstorage/src/Volume.cc Fri Oct 17 11:30:43 2008
@@ -2018,7 +2018,7 @@
string tlabel = label;
if( label.empty() )
tlabel = "--";
- cmd = "/usr/sbin/xfs_admin -L " + tlabel + " " +
quote(mountDevice());
+ cmd = "/usr/sbin/xfs_admin -L " + quote(tlabel) + " " +
quote(mountDevice());
}
break;
case SWAP:

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

< Previous Next >
This Thread
  • No further messages