[yast-commit] r55805 - /trunk/storage/libstorage/src/Volume.cc
Author: aschnell Date: Thu Feb 26 22:27:50 2009 New Revision: 55805 URL: http://svn.opensuse.org/viewcvs/yast?rev=55805&view=rev Log: - quote device name 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=55805&r1=55804&r2=55805&view=diff ============================================================================== --- trunk/storage/libstorage/src/Volume.cc (original) +++ trunk/storage/libstorage/src/Volume.cc Thu Feb 26 22:27:50 2009 @@ -1683,14 +1683,13 @@ { case EXT2: case EXT3: - cmd = "fsck.ext2 -n -f " + use_dev; + cmd = "fsck.ext2 -n -f " + quote(use_dev); break; case REISERFS: - cmd = "reiserfsck --yes --check -q " + use_dev; + cmd = "reiserfsck --yes --check -q " + quote(use_dev); break; default: - cmd = "fsck -n -t " + fsTypeString(detected_fs) + - " " + use_dev; + cmd = "fsck -n -t " + fsTypeString(detected_fs) + " " + quote(use_dev); break; } bool excTime, excLines; -- 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