1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garage_ynh.git synced 2024-09-03 18:36:32 +02:00

Update conf/umount_disk.sh: same as previous commit

This commit is contained in:
Alexandre Aubin 2023-12-10 14:41:03 +01:00 committed by GitHub
parent d1951c1435
commit 50002636a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# If we're inside a container # If we're NOT inside a container
if systemd-detect-virt -c -q if ! systemd-detect-virt -c -q
then then
data_dir=__DATA_DIR__ data_dir=__DATA_DIR__
nbd=$(cat $data_dir/nbd_index) nbd=$(cat $data_dir/nbd_index)