From 6fcc57bd06ad2f05eb488c9c684faaa41bead6f0 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 18 Jan 2016 16:22:23 +0100 Subject: [run-virt] Don't exit 1 if we don't have a vmstore as it's optional nowadays --- remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote') diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store b/remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store index 4559e1e3..9d478918 100755 --- a/remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store +++ b/remote/modules/run-virt/data/opt/openslx/scripts/systemd-mount_vm_store @@ -2,7 +2,7 @@ . /opt/openslx/config || exit 1 -[ -z "$SLX_VM_NFS" ] && slxlog "mount-vmstore-missing" "No SLX_VM_NFS given in /opt/openslx/config!" && exit 1 +[ -z "$SLX_VM_NFS" ] && exit 0 # create target directory mkdir -p /mnt/vmstore -- cgit v1.2.3-55-g7522