Allow space in vbd path name

c/s 20393 breaks existing domain configuration that contains
spaces in the vbd path name.  Fixed by this trivial patch which
provides missing quotes.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
xen-unstable changeset:   21459:611a36481e92
xen-unstable date:        Wed May 26 08:14:51 2010 +0100
This commit is contained in:
Keir Fraser committed 2010-05-26 08:28:56 +01:00
1 parent 6a90a4f0a3
commit 1a830511d1
1 file changed
+2 -2
+2 -2
View File
@@ -272,8 +272,8 @@ mount it read-write in a guest domain."
if [ "x$mode" != 'x!' ]
then
inode=$(stat -c '%i' $file)
dev=$(stat -c '%D' $file)
inode=$(stat -c '%i' "$file")
dev=$(stat -c '%D' "$file")
if [ -z "$inode" ] || [ -z "$dev" ]
then
fatal "Unable to lookup $file: dev: $dev inode: $inode"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.