From 50002636a14dff09d1876595ea8ff3c288a06bda Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 10 Dec 2023 14:41:03 +0100 Subject: [PATCH] Update conf/umount_disk.sh: same as previous commit --- conf/umount_disk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/umount_disk.sh b/conf/umount_disk.sh index 15e6314..9ecc0d6 100755 --- a/conf/umount_disk.sh +++ b/conf/umount_disk.sh @@ -1,7 +1,7 @@ #!/bin/bash -# If we're inside a container -if systemd-detect-virt -c -q +# If we're NOT inside a container +if ! systemd-detect-virt -c -q then data_dir=__DATA_DIR__ nbd=$(cat $data_dir/nbd_index)