diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-26 08:28:56 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-26 08:28:56 +0100 |
commit | 1a830511d1fd8e0a59912e2b4bbd972421cfbcd2 (patch) | |
tree | dba22bd5b3ecb47f1306b35a401ae41c17ad972e | |
parent | 6a90a4f0a328c5cceeb8496719193a7966169fe5 (diff) | |
download | xen-1a830511d1fd8e0a59912e2b4bbd972421cfbcd2.tar.gz xen-1a830511d1fd8e0a59912e2b4bbd972421cfbcd2.tar.bz2 xen-1a830511d1fd8e0a59912e2b4bbd972421cfbcd2.zip |
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
-rw-r--r-- | tools/hotplug/Linux/block | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hotplug/Linux/block b/tools/hotplug/Linux/block index ff85bcb433..122e93e35b 100644 --- a/tools/hotplug/Linux/block +++ b/tools/hotplug/Linux/block @@ -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" |