dom0: block-snapshot: enable nullglob to not fail on snapshot/origin remove
Normally should not happen because all domains needs at least one snapshot device, but in some rare situation can be helpful to cleanup stale devices.
This commit is contained in:
parent
68b5a71add
commit
6192e35419
@ -7,6 +7,8 @@
|
||||
dir=$(dirname "$0")
|
||||
. "$dir/block-common.sh"
|
||||
|
||||
shopt -s nullglob
|
||||
|
||||
HOTPLUG_STORE="/var/run/xen-hotplug/${XENBUS_PATH//\//-}"
|
||||
|
||||
get_dev() {
|
||||
|
Loading…
Reference in New Issue
Block a user